Why do we use the affix plugin in Bootstrap?

We use the affix plugin in Bootstrap for affixing a

to some certain location on a webpage. The plugin also allows toggling pinning on and off for the affixed

. Social icons are the most popular example of using the affix plugin in Bootstrap.