Within this area of about 160000 sqkm , the Chichimecas lived primarily by hunting and gathering, especially mesquite beans, the edible parts of the agave plants, and the fruit (tunas) and leaves of cactus.