( ( ( The photosynthesis ) ( of ( the past ) ) ) ( ( is ( what ( had ( stored ( ( the ( Sun 's ) ) ( energy ( that ( ultimately ( produced coal ) ) ) ) ) ) ) ) ) ; ) )
(ROOT (S (NP (NP (DT The) (NN photosynthesis)) (PP (IN of) (NP (DT the) (NN past)))) (VP (VBZ is) (SBAR (WHNP (WP what)) (S (VP (VBD had) (VP (VBN stored) (NP (NP (DT the) (NNP Sun) (POS 's)) (NN energy) (SBAR (WHNP (WDT that)) (S (ADVP (RB ultimately)) (VP (VBD produced) (NP (NN coal))))))))))) (: ;)))
The photosynthesis of the past is what had stored the Sun's energy that ultimately produced coal;
(ROOT (S (S (NP (NNP Coal)) (VP (VBZ is) (ADJP (JJ nonrenewable)))) (, ,) (CC and) (S (NP (DT the) (NN sun)) (VP (VBZ is) (ADJP (JJ renewable) (SBAR (S (VP (VBZ is) (SBAR (WHADVP (WRB how)) (S (NP (NP (NN coal)) (CC and) (NP (DT the) (NN sun))) (VP (VBP compare) (PP (IN as) (NP (NP (NNS sources)) (PP (IN of) (NP (NN energy)))))))))))))) (. .)))