What function does imagery perform in these lines from "Africa" by Maya Angelou?

Thus she had lain
sugarcane sweet
deserts her hair
golden her feet
mountains her breasts
two Niles her tears.


It highlights a continent's important rivers.


It compares a continent to a woman.


It describes the topography of a continent.


It emphasizes the pain and loss borne by a continent.