Electromagnetism is the force observed as static electricity, and causes the flow of electric charge (electric current) in electrical conductors.
The magnetic field is produced by the motion of electric charges, i.e. electric current. The magnetic field causes the magnetic force associated with magnets.
The term "electromagnetism" comes from the fact that electrical and magnetic forces are involved simultaneously. A changing magnetic field produces an electric field (this is the phenomenon of electromagnetic induction, which provides for the operation of electrical generators, induction motors, and transformers). Similarly, a changing electric field generates a magnetic field. Because of this interdependence of the electric and magnetic fields, it makes sense to consider them as a single coherent entity — the electromagnetic field.
This unification, which was completed by James Clerk Maxwell, is one of the triumphs of 19th century physics. It had far-reaching consequences, one of which was the understanding of the nature of light. As it turns out, what is thought of as "light" is actually a propagating oscillatory disturbance in the electromagnetic field, i.e., an electromagnetic wave. Different frequencies of oscillation give rise to the different forms of electromagnetic radiation, from radio waves at the lowest frequencies, to visible light at intermediate frequencies, to gamma rays at the highest frequencies.
The theoretical implications of electromagnetism led to the development of special relativity by Albert Einstein in 1905.
The force that the electromagnetic field exerts on electrically charged particles, called the electromagnetic force, is one of the four fundamental forces. The other fundamental forces are the strong nuclear force (which holds atomic nuclei together), the weak nuclear force (which causes certain forms of radioactive decay), and the gravitational force. All other forces are ultimately derived from these fundamental forces.
The electromagnetic force is the one responsible for practically all the phenomena one encounters in daily life, with the exception of gravity. Basically, all the forces involved in interactions between atoms can be traced to the electromagnetic force acting on the electrically charged protons and electrons inside the atoms. This includes the forces we experience in "pushing" or "pulling" ordinary material objects, which come from the intermolecular forces between the individual molecules in our bodies and those in the objects. It also includes all forms of chemical phenomena, which arise from interactions between electron orbitals.
According to modern electromagnetic theory, electromagnetic forces are mediated by the transfer of virtual photons.