The presence of the gas will be shaped by the shape and volume of the constant changes in the container. The particles are placed far apart as possible.
The state is the gas will have a shape and volume that is not fixed by shape will change according to the containers packing. Particles inside to stay away from each other as much as possible.