Complex sentence: It is endemic to the Nicobar Islands where its natural habitats are subtropical or tropical moist lowland forests and subtropical or tropical mangrove forests.
Split into simpler sentences: It is endemic to the Nicobar Islands. Its natural habitats are subtropical or tropical moist lowland forests and subtropical or tropical mangrove forests.