Electricity and magnetism are different facets of electromagnetism
recall that a static distribution of charges produces an electric field
charges in motion (an electrical current) produce a magnetic field
a changing magnetic field produces an electric field, moving charges