Aztec codices were ancient books created by the Aztec civilization, consisting of pictorial and glyph-based writing that recorded various aspects of their culture, history, and rituals. These codices served as vital documents for understanding Aztec society, including its religious beliefs, laws, and historical events, especially during the early encounters with Europeans.