An electrical socket is used to plug in many mechanical devices.