( Heat ( ( ( flows ( from ( ( the sun ) ( ( ( to ( ( the earth ) ( via ( thermal radiation ) ) ) ) and ) ( from ( the earth ) ) ) ) ) ) ( to ( ( the depths ) ( of ( space ( via ( thermal radiation ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (NNP Heat)) (VP (VBZ flows) (PP (IN from) (NP (NP (DT the) (NN sun)) (PP (PP (TO to) (NP (NP (DT the) (NN earth)) (PP (IN via) (NP (JJ thermal) (NN radiation))))) (CC and) (PP (IN from) (NP (DT the) (NN earth)))))) (PP (TO to) (NP (NP (DT the) (NNS depths)) (PP (IN of) (NP (NP (NN space)) (PP (IN via) (NP (JJ thermal) (NN radiation)))))))) (. .)))
Heat flows from the sun to the earth via thermal radiation and from the earth to the depths of space via thermal radiation.
(ROOT (S (NP (NNP Heat)) (VP (VBZ travels) (PP (IN from) (NP (DT the) (NN sun))) (PP (TO to) (NP (NP (DT the) (NN earth) (JJ thermal) (NN radiation)) (PP (IN from) (NP (DT the) (NN sun)))))) (. .)))