( ( The ( solid state ) ) ( ( ( contains ( its ( definite ( ( shape and ) volume ) ) ) ) ( while ( liquid ( has ( ( a ( definite volume ) ) ( not ( shape ( while ( ( the gases ) ( have ( nothing ( neither ( ( ( definite shape ) nor ) size ) ) ) ) ) ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (DT The) (JJ solid) (NN state)) (VP (VBZ contains) (NP (PRP$ its) (JJ definite) (NN shape) (CC and) (NN volume)) (SBAR (IN while) (S (NP (NN liquid)) (VP (VBZ has) (S (NP (DT a) (JJ definite) (NN volume)) (RB not) (VP (VB shape) (SBAR (IN while) (S (NP (DT the) (NNS gases)) (VP (VBP have) (S (NP (NN nothing)) (NP (CC neither) (NP (JJ definite) (NN shape)) (CC nor) (NP (NN size))))))))))))) (. .)))
The solid state contains its definite shape and volume while liquid has a definite volume not shape while the gases have nothing neither definite shape nor size.
(ROOT (S (NP (NP (DT A) (JJ definite) (NN shape)) (CC and) (NP (DT a) (JJ definite) (NN volume))) (VP (VBP are) (NP (NP (NNS properties)) (PP (IN of) (NP (NP (NP (DT the) (JJ solid) (, ,) (JJ only) (NN state)) (PRN (-LRB- -LRB-) (PRP s) (-RRB- -RRB-))) (PP (IN of) (NP (NN matter))))))) (. .)))
A definite shape and a definite volume are properties of the solid, only state(s) of matter.