states of matter
Think of water you can hold an ice cube, pour the melted water, or watch it vanish as steam. Those are the three everyday states of matter: solid, liquid and gas. Every drug substance and every excipient also exists in one of these states under a given temperature and pressure, and that state shapes how the material is handled, mixed and dosed.
In a solid the molecules are locked in place, so solids hold their shape and are the basis of tablets, capsules and powders. In a liquid the molecules can slide past one another, which makes solutions, syrups and injections pourable. In a gas the molecules fly apart and fill any container, which matters for propellants in inhalers and for sterilising gases. Pharmacists care about state because it controls flow, stability, dose accuracy and the route by which a drug can be given.
Be careful not to treat the three states as the whole story. Many pharmaceutical solids are not simple crystals but glassy (amorphous) materials, and soft systems like creams and gels behave as something between solid and liquid. The clean three-state picture is a starting point, not a complete description of how real formulations behave.
Temperature and pressure define the state: the same substance can be solid, liquid or gas at different conditions, which is why storage temperature is written on so many medicines.