Liquids and gases take the shape of their container rather than having their own definite shape. They are distinguished from solids by not maintaining a fixed volume, as liquids and gases will flow freely between containers of any shape. Volume is the amount of three-dimensional space occupied by an object or substance and is measured in units of milliliters, such as a measuring cup being used to determine a water sample has a volume of 300 ml.