What food was highly valued in the Aztec and Mayan cultures and sometimes used as money?

Culture Trivia: What food was highly valued in the Aztec and Mayan cultures and sometimes used as money?