Humanity (Second Primary)

Language

What was the primary purpose of hieroglyphics in ancient Egypt?