The sun bear is an omnivorous species, which means they eat a variety of foods, including insects, fruits, honey, small vertebrates, and plant materials such as leaves, roots, and flowers. Ants and termites are a particularly important food source for sun bears, and they have specially adapted tongues and jaws to extract them from nests. Sun bears are also known to feed on carrion and occasionally hunt small mammals. Their diet can vary depending on the season and availability of food in their habitat.