( ( On ( other planets ) ) ( , ( ( including Earth ) ( , ( ( ( the axis ) ( of ( the ( magnetic field ) ) ) ) ( ( is ( nearly ( parallel ( to ( ( ( ( the axis ) ( of rotation ) ) , ) ( placing ( ( the ( magnetic poles ) ) ( near ( the ( geographic poles ) ) ) ) ) ) ) ) ) ) . ) ) ) ) ) )
(ROOT (S (PP (IN On) (NP (JJ other) (NNS planets))) (, ,) (PP (VBG including) (NP (NNP Earth))) (, ,) (NP (NP (DT the) (NNS axis)) (PP (IN of) (NP (DT the) (JJ magnetic) (NN field)))) (VP (VBZ is) (ADJP (RB nearly) (JJ parallel) (PP (TO to) (NP (NP (DT the) (NNS axis)) (PP (IN of) (NP (NN rotation))) (, ,) (VP (VBG placing) (NP (NP (DT the) (JJ magnetic) (NNS poles)) (PP (IN near) (NP (DT the) (JJ geographic) (NNS poles))))))))) (. .)))
On other planets, including Earth, the axis of the magnetic field is nearly parallel to the axis of rotation, placing the magnetic  poles near the geographic poles.
(ROOT (S (NP (NP (DT The) (NN earth) (POS 's)) (JJ magnetic) (NNS poles)) (VP (VBP have) (VP (VBN switched) (NP (NNS places)) (ADVP (RB repeatedly)) (PP (IN in) (NP (DT the) (NN past))))) (. .)))