Complex sentence: The river became the lifeline for many shanty towns, and it is these villages that were suffocating the river and, in turn, destroying their own livelihoods.
Split into simpler sentences: The river became the lifeline for many urban squatter villages. And it was these villages that were suffocating the river and, in turn, destroying their own livelihoods.