in gases like air, the molecules are just flying around. in liquids like water, the molecules are stuck together but they can still move. in solids like sugar, the molecules can only vibrate. in the fourth state of matter known as plasma, the atoms are ionized and cannot form molecules.