Suppose you have two magnets whose ends are marked as South Pole and North Pole. You have to keep two magnets such that one magnet is upon other magnet and also their North Poles are on same side. How will these magnets behave?
When two magnets are placed closed to each other, north pole of one magnet gets attracted to the south pole of the other magnet.