Both electric and magnetic fields are the consequence of the attraction and repulsion of… electric charges.
However, a magnetic effect is caused by moving electric charges while an electric field is caused by stationary charges.
.
3) Electricity and magnetism are essentially two aspects of the same thing, because a changing electric field creates a magnetic field, and a changing magnetic field creates an electric field. (This is why physicists usually refer to "electromagnetism" or "electromagnetic" forces together, rather than separately.)
Electricity and magnetism are closely related.
Flowing electrons produce a magnetic field, and spinning magnets cause an electric current to flow.
Electromagnetism is the interaction of these two important forces.