Any substance can be a liquid, solid or gas, provided it has the right amount of energy; water is the only one to naturally occur in all three states on Earth, though.
Water exists in our environment as a liquid gas and solid.
If a substance that exists in liquid state was not in liquid state then it was in its other states of matter namely solid, gaseous.
water
Water is the only substance that commonly exists as a solid, liquid, and gas in Earth's atmosphere. Solid water is ice, liquid water is water, and gaseous water is water vapor.
No solid substance exists that never melts. All substances have a melting point at which they transition from a solid to a liquid state due to changes in temperature.
A substance that exists as both a liquid and a solid at the same time is called a "solid-liquid mixture" or a "suspension." This occurs when a solid material is evenly dispersed throughout a liquid, creating a two-phase system.
It's called sublimination
When a substance changes from liquid to solid is called freezing.
We know that for any given substance, and at a given pressure, the gas phase exists at a higher temperature than the liquid phase, which exists at a higher temperature than the solid phase. And temperature measures heat energy per molecule or atom, hence, gas particles have more energy than particles of the same substance in their liquid or solid phase.
A substance changes from a solid to a liquid at its melting point
Gravity is a force that exists in the universe and is not a physical substance, so it is neither a solid, liquid, nor gas. It is a natural phenomenon that causes objects with mass to attract each other.
Water is a substance that can exist in all three states of matter: solid (ice), liquid (water), and gas (water vapor).