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

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