The substance is most probably gas. This is because as described above, the substance does not have a definite volume because its volume is dependent to the that of the container. Moreover, the molecules of the gas substances are widely spread out allowing them to compress or contract when deemed necessary.