Electricity is a form of energy resulting from the existence and flow of electric charge. It occurs naturally in lightning or can be produced in generators. Electricity has three main components - voltage, current, and resistance. Voltage is the potential energy pushing electrons through a circuit. Current is the continuous flow of electrons. Resistance prevents the flow of electrons. Electricity can be direct current, flowing in one direction, or alternating current, which switches direction periodically.