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.
F = q (E + v × B). The electric Expulsion D and magnetic intensity H are told about to the electric field and magnetic flux density by the constitutive relations: D = ε E, B = µ H.
Thus, Both electric and magnetic fields are the consequence of the attraction and repulsion of electric charges.
To learn more about electric field click here:
https://brainly.com/question/15800304
#SPJ1