Thoth is the Egyptian god of writing, wisdom, and knowledge. Sometimes he is also referred to as a lunar deity and is often depicted wearing a lunar-like headdress. He is the patron of scribes, and is honored as the inventor of the sciences, magic, art, astronomy, medicine, and law. He judges the dead by weighing their hearts on a feather that represented truth, and is known to be fair and impartial. He is identified as the son of Ra, representing his heart and tongue.