Water vapor is the gaseous state of water, formed when liquid water evaporates or when ice sublimates. It plays a crucial role in Earth's climate system, influencing weather patterns, temperature regulation, and the greenhouse effect, which is essential in understanding global climate change.