Another way to say "When water boils, it becomes a gas." is "Water becomes a gas when it is boiled."