A power cord, also known as a power cable, mains cable, or line cord, is an electrical cable that is used to transmit electrical power from a power source, such as a wall outlet, to a device or appliance. Power cords typically have a plug on one end that connects to the power source and a socket or connector on the other end that connects to the device.