Pyramids served which of the following functions in early Mesoamerican civilizations?

ACourthouses

BCenters of trade

CMilitary fortresses

DReligious temples