Electricity deals with topics related to electricity, photons and electrons. Electricity is nothing but a form of energy produced by charges. These charges that produce electricity can be at rest or moving. Electricity is the set of physical phenomena associated with the presence and motion of matter that has a property of electric charge. Electricity is related to magnetism, both being part of the phenomenon of electromagnetism, as described by Maxwell's equations.