The oil within the cylinder, when it is compressed or extended, moves from one side of the piston head to the other, providing a damping effect. Mounting brackets / studs can be permanent or replaceable the most common are the ball and socket style (10mm or 13MM) then the ring / eye style.