Electricity and magnetism are separate yet interconnected phenomena associated with the electromagnetic force. Together, they form the basis for electromagnetism, a key physics discipline.
Except for behavior due to the force of gravity, nearly every occurrence in daily life stems from the electromagnetic force. It is responsible for the interactions between atoms and the flow between matter and energy. The other fundamental forces are the weak and strong nuclear force, which govern radioactive decay and the formation of atomic nuclei.
Since electricity and magnetism are incredibly important, it's a good idea to begin with a basic understanding of what they are and how they work.
Basic Principles of Electricity
Electricity is the phenomenon associated with either stationary or moving electric charges. The source of the electric charge could be an elementary particle, an electron (which has a negative charge), a proton (which has a positive charge), an ion, or any larger body that has an imbalance of positive and negative charge. Positive and negative charges attracts each other (e.g., protons are attracted to electrons), while like charges repel each other (e.g., protons repel other protons and electrons repel other electrons).
Familiar examples of electricity include lightning, electrical current from an outlet or battery, and static electricity. Common SI units of electricity include the ampere (A) for current, coulomb (C) for electric charge, volt (V) for potential difference, ohm (Ω) for resistance, and watt (W) for power. A stationary point charge has an electric field, but if the charge is set in motion, it also generates a magnetic field.