Explain why carbon dioxide is a gas, water is a liquid, and salt is solid at room temperature based on how the particles are held together.​