Complex sentence: It is endemic to South Africa where its natural habitats are Mediterranean-type shrubby vegetation and intermittent freshwater marshes.
Split into simpler sentences: It is endemic to South Africa. Its natural habitats are Mediterranean-type shrubby vegetation and intermittent freshwater marshes.