In the Sumerian civilization, the purpose of a ziggurat was to
A. hold back floodwaters.
B. keep the gods and goddesses happy.
C. irrigate the fields.
D. protect the people from foreign invaders.