In a "gas", the chemical bonds are not strong enough to hold atoms or molecules together, and from this a gas is a collection of independent, unbonded molecules which interact mainly by collision. Gases tend to take the shape of their container, and are less dense than both solids and liquids.