Electricity is a form of energy generated by batteries and transmitted through circuits. A switch is used to turn a light or other device on and off by opening or closing the circuit, and a battery acts as the power source that provides energy to the components in the electrical circuit like a light bulb.