As electricity passes through a wire, some of the electrical energy is converted to heat. The more current that flows through a wire, the more heat is generated. If you double the current passing through a wire, the heat generated will increase 4 times!