Sockets are electircal components that connect electrical devices to a power source. Relay sockets act as switches and can control the flow of electricity in the circuit.