Myrmecophiles may have various roles in their host ant colony. Many consume waste materials in the nests, such as dead ants, dead larvae, or fungi growing in the nest. Some myrmecophiles, however, feed on the stored food supplies of ants, and a few are predatory on ant eggs, larvae, or pupae. Others benefit the ants by providing a food source for them. Most associations are facultative, benefiting one or both participants, but not being necessary to their survival, but many myrmecophilous relationships are obligate, meaning one or the other participant requires the relationship for survival.