Ziggurats are interesting structures that were built in the third millennium in the various city states in Mesopotamia. These ziggurats consisted of a truncated pyramid with a smaller truncated pyramid on top of that and another smaller one on top of that etc, culminating with a temple on top, the union point of the goddess and the god.
This was a time of balance between the patriarchal and the matriarchal, that is men and women. The matriarchy representing the Earth the physical goddess, and the patriarchy representing the sky, the mind or thought, ie., the god. A priestess represented the goddess, the Earth and a priest represented the god, the sky. The union of the goddess and the god was represented by the ritual of sexual union between the priestess and the priest inside the shrine.