A gas has no shape or definite volume because of the amount of energy it has. When you look at molecules of the gas, they are always bouncing from each other, not really forming a bond with each other.( Something like that.)
The volume of a gas is a function of the pressure. Increase pressure and the volume will drop. Gases will expand to fill all be available volume if left to their own device, if no exterior pressure is applied.