The CPU Sockets are the electrical interface between the CPU and the motherboard. It attaches directly to the motherboard and houses the CPU. It also physically supports the CPU and heat sink and enables easy replacement of the CPU.
The socket is made of either plastic or metal and uses metal contacts for connectivity to each of the pins/lands of the CPU. One or more metal levers (retaining arms) lock the CPU in place