( ( When ( lava erupts ) ) ( it ( ( will ( be ( quickly ( ( cooled ( by ( ( the ( unlimited supply ) ) ( of water ) ) ) ) ( ( ( surrounding ( a ( submarine volcano ) ) ) , ) ( creating ( pillow lava ) ) ) ) ) ) ) . ) ) )
(ROOT (S (SBAR (WHADVP (WRB When)) (S (NP (NN lava)) (VP (VBZ erupts)))) (NP (PRP it)) (VP (MD will) (VP (VB be) (VP (ADVP (RB quickly)) (VBN cooled) (PP (IN by) (NP (NP (DT the) (JJ unlimited) (NN supply)) (PP (IN of) (NP (NN water))))) (S (VP (VP (VBG surrounding) (NP (DT a) (JJ submarine) (NN volcano))) (, ,) (VP (VBG creating) (NP (NN pillow) (NN lava)))))))) (. .)))
When lava erupts it will be quickly cooled by the unlimited supply of water surrounding a submarine volcano, creating pillow lava.
(ROOT (S (NP (NP (NNP Lava)) (SBAR (WHNP (WDT that)) (S (VP (VBZ enters) (NP (DT the) (NN water)))))) (VP (VBZ is) (VP (VBN called) (NP (NN pillow) (NN lava)))) (. .)))