( ( The ( sound waves ) ) ( ( ( move ( through ( each ( of ( these mediums ) ) ) ) ) ( by ( ( vibrating ( the molecules ) ) ( in ( the matter ) ) ) ) ) . ) )
(ROOT (S (NP (DT The) (JJ sound) (NNS waves)) (VP (VBP move) (PP (IN through) (NP (NP (DT each)) (PP (IN of) (NP (DT these) (NNS mediums))))) (PP (IN by) (S (VP (VBG vibrating) (NP (DT the) (NNS molecules)) (PP (IN in) (NP (DT the) (NN matter))))))) (. .)))
The sound waves move through each of these mediums by vibrating the molecules in the matter.
(ROOT (S (NP (NNP Medium)) (VP (VBZ is) (NP (NP (DT the) (NN matter)) (SBAR (WHPP (IN through) (WHNP (WDT which) (NN sound))) (S (NP (NNS waves)) (VP (VBP travel)))))) (. .)))