The brick with pin on the side is used to attach other parts to it in a rotatable way. Think of wheels, but also technic bricks and many other LEGO parts.
There is also a version of this brick with a stud holder on the bottom, that LEGO part has the design ID 2458.
Receive the weekly ToyPro newsletter and stay up to date on the latest news about ToyPro and LEGO®, MOCs and much more. Discover LEGO®
Successful! ToyPro will keep you updated from now on. Welcome to the club.
Are you missing a part from a LEGO set? Look it up easily by entering the set number below.