Temperature has a direct effect on whether a substance exists as a solid, liquid or gas. Generally, increasing the temperature turns solids into liquids and liquids into gases; reducing it turns gases into liquids and liquids into solids.