( ( ( ( ( ( In ( a ( similar way ) ) ) ( heat ( enters ( a ( liquid ( to ( ( change ( the ( molecular bonding ) ) ) ( when ( ( the liquid ) ( ( ( boils or ) evaporates ) ( into ( a gas ) ) ) ) ) ) ) ) ) ) ) ) , ) and ) ( heat ( ( enters ( a solid ) ) ( to ( ( change ( the ( molecular bonding ) ) ) ( when ( it ( sublimates ( into ( a gas ) ) ) ) ) ) ) ) ) ) . )
(ROOT (S (S (PP (IN In) (NP (DT a) (JJ similar) (NN way))) (NP (NN heat)) (VP (VBZ enters) (NP (DT a) (NN liquid) (S (VP (TO to) (VP (VB change) (NP (DT the) (JJ molecular) (NN bonding)) (SBAR (WHADVP (WRB when)) (S (NP (DT the) (NN liquid)) (VP (VBZ boils) (CC or) (VBZ evaporates) (PP (IN into) (NP (DT a) (NN gas)))))))))))) (, ,) (CC and) (S (NP (NN heat)) (VP (VBZ enters) (NP (DT a) (JJ solid)) (S (VP (TO to) (VP (VB change) (NP (DT the) (JJ molecular) (NN bonding)) (SBAR (WHADVP (WRB when)) (S (NP (PRP it)) (VP (VBZ sublimates) (PP (IN into) (NP (DT a) (NN gas))))))))))) (. .)))
In a similar way heat enters a liquid to change the molecular bonding when the liquid boils or  evaporates into a gas, and heat enters a solid to change the molecular bonding when it sublimates into a gas.
(ROOT (S (NP (NN Evaporation) (CC and) (NN condensation)) (VP (VBP are) (ADJP (JJ similar) (SBAR (IN because) (S (NP (DT both)) (VP (VBP are) (VP (VBN caused) (PP (IN by) (NP (NP (NNS changes)) (PP (IN in) (NP (NN heat) (NN energy))))))))))) (. .)))