All the animals can be divided into three groups on the basis of their eating habits. Name the three groups.