( ( ( The ( gas phase ) ) ( of matter ) ) ( ( will ( take ( ( the shape ) ( of ( a ( closed container ) ) ) ) ) ) . ) )
(ROOT (S (NP (NP (DT The) (NN gas) (NN phase)) (PP (IN of) (NP (NN matter)))) (VP (MD will) (VP (VB take) (NP (NP (DT the) (NN shape)) (PP (IN of) (NP (DT a) (VBN closed) (NN container)))))) (. .)))
The gas phase of matter will take the shape of a closed container.
(ROOT (S (NP (DT A) (NN gas)) (VP (VBZ assumes) (NP (NP (DT the) (NN shape)) (PP (IN of) (NP (PRP$ its) (NN container))))) (. .)))