This is the definition of a gas.
The state of matter having a definite volume but no definite shape is liquid.
A state of matter having definite volume but no definite shape is called, "liquid".
Liquid
a solid
gas
Gas
gas
The state of matter that has definite shape and definite volume is called solid.
The state of matter that has definite shape and definite volume is called solid.
No state of matter corresponds to this. Solids are the only state with definite shape, but they have a definite volume too.
There is no such state of matter. Solid has a definite shape and volume, liquid has a definite volume but not a definite shape, gases have neither a definite shape nor a definite volume.
The state of matter is actually to states of matter. Solid and liquid are the states of matter that have a volume,(liquid) and shape(solid).