What is magnetism

Magnetism refers to the phenomenon of attraction or repulsion between objects that results from the presence of a magnetic field. Magnetism is caused by the movement of electric charges, such as electrons, which generate a magnetic field that can affect nearby objects. Magnets are objects that can produce a magnetic field and can attract certain materials, such as iron, nickel, and cobalt. Magnetism has many practical applications, such as in motors, generators, and magnetic storage devices.