Vertical farms could help solve environmental problems associated with agriculture in order to make cities more sustainable.