Rainforests are called the "lungs of the Earth" because they play a crucial role in producing oxygen and absorbing carbon dioxide during photosynthesis. Just like human lungs take in oxygen and release carbon dioxide, rainforests take in carbon dioxide and release oxygen, helping to maintain the balance of gases in the atmosphere.