Water vapor is the gaseous state of water and is an essential component of the Earth's atmosphere. It is formed when water evaporates or sublimates into the air. Water vapor is an important part of the Earth's water cycle, playing a crucial role in weather patterns and the distribution of heat around the planet.