The earth is a large magnet with a north pole and a south pole which repel each other.
(The earth; is; a large magnet with a north pole and a south pole) (a south pole; repel; each other)
The earth a south pole
is repel
a large magnet with a north pole and a south pole
each other