Complex sentence: Its natural habitat is subtropical or tropical swamps, which is threatened by habitat loss.
Split into simpler sentences: Its natural habitat is subtropical or tropical swamps. It is threatened by habitat loss.