The blastpipe which is located inside the smokebox located at the front of the engine. The steam is ejected into the atmosphere through the chimney or smokestack.
Steam results when water is heated beyond its boiling point - the liquid water is changing states, to gas. Steam is water turned to gas. ICE is frozen water.