Complex sentence: It is endemic to Brazil, where its natural habitat is swamps.
Split into simpler sentences: It is endemic to Brazil. Its natural habitat is swamps.