Magnetism is a natural force caused by moving electric charges. These motions can be microscopic and occur within a material known as magnets. Magnets, or magnetic fields produced by moving electric charges, can attract or repel other magnets, as well as change the motion of other charged particles.