Answer:
Gases do not have a definite shape or volume because the molecules in gases are very loosely packed, they have large intermolecular spaces and hence they move around. The force of attraction between molecules is also very less, as a result gases acquire any shape or any volume.
Therefore, gases take the shape of the container and occupy the complete volume of that particular container.