( Liquids ( ( ( ( have ( definite volume ) ) , ) ( while ( solids ( have ( ( ( both ( definite shape ) ) and ) ( definite volume ) ) ) ) ) ) . ) )
(ROOT (S (NP (NNS Liquids)) (VP (VBP have) (NP (JJ definite) (NN volume)) (, ,) (SBAR (IN while) (S (NP (NNS solids)) (VP (VBP have) (NP (NP (DT both) (JJ definite) (NN shape)) (CC and) (NP (JJ definite) (NN volume))))))) (. .)))
Liquids have definite volume, while solids have both definite shape and definite volume.
(ROOT (S (NP (NN Liquid)) (VP (VBZ has) (NP (NP (DT a) (JJ definite) (NN volume)) (, ,) (CONJP (CC but) (RB not)) (NP (DT a) (JJ definite) (NN shape)))) (. .)))