Electricity is the set of physical phenomena associated with the presence and flow of electric charge. It arises due to the fundamental interactions of subatomic particles called electrons and protons. Electricity can produce many effects including lightning, static electricity, electric heating, and electric discharges. Modern technology is largely based on harnessing electricity through devices like generators, motors, batteries and circuits. Key discoveries over centuries have established electricity and magnetism as two aspects of a single electromagnetic phenomenon.