Thoth was the god of the moon, sacred texts, mathematics, the sciences, magic, messenger and recorder of the deities, master of knowledge, and patron of scribes. His Egyptian name was Djehuty, which means “He who is like the Ibis.” He was depicted as an ibis bird or a baboon.