Sloths have several predators, including jaguars, harpy eagles, ocelots, margays, and spectacled owls. Among these, jaguars and harpy eagles are the main predators of sloths. Sloths have evolved their stealthy habits to remain hidden from these predators, who rely on their sense of sight to find them. If discovered, the sloths remarkable grip strength helps them to survive an attack by avoiding being pulled from the trees by these powerful predators. Sloths are primarily folivores, feeding mostly on leaves, fruits, and sap of various trees. They have a large and efficient multi-chambered stomach that helps them digest their food. Sloths are also surprisingly good swimmers, and they will sometimes drop down from their treetop perches into water and use their extended arms to propel through the water.