Using a unique hydrogel, scientists have created a solar-driven system that successfully grows spinach by using water drawn from the air while producing electricity. The proof-of-concept design offers a sustainable, low-cost strategy to improve food and water security for people living in dry-climate regions.