Read the passage and answer the question.
Many cities are running out of green space at ground level, so planners have begun looking upward. Rooftop gardens, once rare, now sit on offices, schools, and apartment blocks. They cool the buildings beneath them, soak up rainwater that would otherwise flood the streets, and give residents a small patch of nature. Some cities even offer grants to owners who plant them.
What is the main idea of the passage?