Because of their dependence on grass , polar bears are classified as terrestrial mammals ; an alternative basis for classification as terrestrial mammals is that they depend on only the land as their main food source .
Polar bears depend on the ocean as their main food source .