Explain in detail showing how the particles move in a solid, liquid and a gas.