1. Temperature: Temperature directly affects the kinetic energy of the molecules within a substance. Higher temperatures mean molecules move faster and have more energy to overcome attractive forces, leading to a more dispersed state (liquid or gas). Lower temperatures mean molecules move slower and are more likely to be held together in a more condensed state (solid).
2. Pressure: Pressure influences the forces between molecules. Higher pressure forces molecules closer together, favoring a more condensed state (liquid or solid). Lower pressure allows molecules to spread out more, favoring a less dense state (gas).
It's important to note that other factors, such as the specific type of substance and its intermolecular forces, also play a role in determining its state. But temperature and pressure are the primary driving forces.