locate the two metaphors, "There were no trees, no shade, no parks or football field or rivers. Just a sea of tents and a forest of electric poles and wires."
A sea of tents is not a real thing. It is saying there are a lot of tents, like how there is a whole lot of water in the sea. Same thing for forest of electric poles.