The transition from liquid to gas is known as evaporation or boiling, depending on the conditions. During this process, molecules in a liquid gain enough energy to overcome the forces holding them together, allowing them to escape into the air as gas. This can occur at any temperature, but it happens more rapidly at higher temperatures.
In everyday life, we see this transition when water H2O heats up and turns into steam. Factors like temperature, pressure, and surface area can influence the rate of evaporation. For example, a pot of water on a stove will boil faster than a bowl of water left at room temperature.