Atom
When atoms are far apart, they attract each other. This attraction is stronger for some kinds of atoms than others. At the same time, the heat, or kinetic energy, of atoms makes them always move. If the attraction is strong enough, relative to the amount of heat, atoms will form a solid. If the attraction is weaker, they will form a liquid, and if it is even weaker, they will form a gas.