What is the main function of the kidneys in the human body?

ད་ལྟོ་འགྱོ་དོ་ཡོདཔ།