Some mammals eat fruit and nuts, and they eat plants, and they eat meat.
They are called omnivores.
People are omnivores. People don't eat grass though!