While the earliest mammals were probably predators, different species have since adapted to meet their dietary requirements in a variety of ways.