For example, if the south pole of one magnet is put near the south pole of another magnet, the magnets will repel each other.
(the south pole of one magnet; is put; near the south pole of another magnet) (the magnets; will repel; each other)
the south pole of one magnet the magnets
is put will repel
near the south pole of another magnet
each other