Complex sentence: Its natural habitat is rivers, where it is threatened by habitat loss.
Split into simpler sentences: Its natural habitat is rivers. It is threatened by habitat loss.