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.
A definite shape and a definite volume are properties of the solid, only state(s) of matter.