Complex sentence: They filter the blood in order to make urine, to release and retain water, to remove waste, and to change the ion concentrations and acid-base balance of the blood.
Split into simpler sentences: They filter the blood in order to make urine, to release and retain water, and to remove waste. They also control the ion concentrations and acid-base balance of the blood.