The compass acts like it does because the earth has a magnetic north pole and a magnetic south pole.
(The compass; acts; like it does because the earth has a magnetic north pole and a magnetic south pole) (it; does; ) (the earth; has; a magnetic north pole and a magnetic south pole)
The compass it the earth
acts does has
like it does because the earth has a magnetic north pole and a magnetic south pole
a magnetic north pole and a magnetic south pole