Termites form two fundamental ecological groups differing in their diet, the soil-feeders (comprising only Termitidae species) and the non-soil-feeders (present in all termite families), whose diet is based on wood, grass, leaf-litter or microepiphytes.
Source: wiktionary