This GIF is a good example of how magnets work. Permanent magnets (metal that is permanently, rather than temporarily magnetized) have two fields, north and south. As most of us know, if the north and south sides of two magnets will attract to each other, while opposite poles will repel.
- In the gif we see magnets repelling(due to opposite poles)
- The force between the repelling magnets transfers into the magnetic balls connected to the repelling magnets
- This creates a chain reaction by turning the potential energy in the repelling force of the magnets into kinetic energy.