When we plug our appliances in a socket, we are connecting wires for electricity to move. Electricity moves well through wires and water. It won't move through things like plastic or wood. That is why all electrical appliances have their wires wrapped in a plastic cord, so the electricity cannot get out. Now you know how electricity travels through wires in cords and sockets.
Electricity also travels through water.
That is why we must be very careful around plugs, cords, sockets, and water. Never touch broken electric wires. Never put your finger in an electric socket. Never put anything metal into an electric socket. Never unplug an electrical appliance by pulling on the wire.