Matter is anything that has mass and occupies space, It can exist in 3 states, or phases: solid, liquid, and gas.
Solid molecules are closely packed together and retain a fixed shape.
Liquid molecules aren't packed very closely, and take the shape of the bottom of the container.
Gas molecules are far apart and fill the container
completely.
I have provided the steps to figure out the number of atoms in the chemical compound.