animals are classified based on their diet preferences, which can be classified into five types…