Please choose the correct answer to the question: Which function do kidneys provide to maintain homeostasis?

Answer1: the removal of excess heat from the body Answer2: the removal of carbon dioxide from the body Answer3: the removal of excess oxygen from the blood Answer4: the removal of nitrogenous wastes from the blood

Answer format: answer1/answer2/answer3/answer4
Answer: answer4