Pinning keeps it perpetually on screen no matter where in the tab bar you are scrolled. Useful if you have a tab you always need and also many other tabs open.
I'm not sure about pinning but for tab grouping you are grabbing and holding a tab directly over another tab.