When two magnets are close, they create pushing or pulling forces on one another.
These forces are strongest at the ends of the magnets. The two ends of a magnet are known as the north pole and the south pole.
If you try to put two magnets together with the same poles pointing towards one another, the magnets will push away from each other. We say they repel each other.
If you put two magnets together with different poles pointing towards one another, the magnets will pull towards each other. We say they attract each other.