The most likely reason the algae help two-toed sloths survive is:
A. by allowing the sloths to blend in with the trees to hide from predators.
The greenish tint from the algae provides camouflage, which helps sloths avoid detection by predators in their natural habitat.