A cockroach is a type of heterotroph called a scavenger. Unlike
an autotroph, a heterotroph is not capable of producing its own
food. It relies on an autotroph for its food. A scavenger, in
particular, likes to eat leftovers of things or dead animals.