Sloths are folivores - herbivores, which eat mostly leaves. Leaves don't provide much energy, so sloths have very low metabolic rates - their body temperature is low: 30–34°C. They sleep 15 to 18 hours a day. Basically it can be said that they survive thanks to saving energy :)