Hip replacement is an artificial ball and socket which replaces the painful bone surfaces and restores smooth motion of the joint. The new socket fits into the pelvis tightly so that bone grows into the implant. A plastic liner locks into the socket as the bearing surface. Metal liners have been associated with early failures. Ceramic heads are currently favored over metallic ones in order to reduce the risk of corrosion developing at the taper joint.