Rainforests are called the "lungs of the planet" because they play a crucial role in producing oxygen and absorbing carbon dioxide through the process of photosynthesis. Just like our lungs extract oxygen from the air we breathe in and release carbon dioxide, rainforests help regulate the balance of oxygen and carbon dioxide in the atmosphere, making them essential for maintaining a healthy environment on Earth.