Electricity and Magnetism are related as electricity can actually make magnetic material (iron, nickel or silver) magnetic. This is called an electro magnet (a temporary magnet created by wrapping coils around a magnetic core (the electricity powers the coils, magnetising the material)).