The matter can be classified in two different ways; (a) according to its state, and (b) according to its composition. Matter can exist in three different states, solid, liquid, and gas, based on the way the atoms and molecules are arranged inside them.