Why are liquids and gases categorised as fluids?

Liquids and gases have the tendency to flow which means their molecules can move freely from one place to another. Therefore, they are known as fluids.