Complex sentence: It lives in lowland rainforest river floodplains and coastal mangrove swamps where it feeds on frogs, geckos and fish.
Split into simpler sentences: It lives in lowland rainforest river floodplains and coastal mangrove swamps. It feeds on frogs, geckos, and fish.