A farm on a rooftop: How does that work?

China has a farm on a rooftop terrace. But how can this work? And who takes care of the plants and animals?