In this investigation, students investigate polarity of magnets and explore what happens when two magnets are moved towards each other.
Every magnet has a north and a south pole. Two like poles will repel each other but opposites attract. If we line them up so that norths face norths then they will push away hard enough to overcome the force we place on them (or the force of gravity!)
The force between magnets depends on the separation distance and the flux density (magnetic strength) of the magnets used.