Sloths make a good habitat for other organisms, and a single sloth may be home to moths, beetles, cockroaches, ciliates, fungi, and algae. Sloths are classified as folivores as the bulk of their diet consists of buds, tender shoots, and leaves, mainly of Cecropia trees. Sloths’ claws serve as their only natural defense. A cornered sloth may swipe at its attackers in an effort to scare them away or wound them. Despite sloths’ apparent defencelessness, predators do not pose special problems: sloths blend in with the trees and, moving only slowly, do not attract too much attention.