The main function of the kidneys is to purify blood from waste products. And to succeed at this, each individual kidney has at least one million and up to 2 million special tiny filters, called nephrons.
We don’t really need 2 kidneys, half of one can do just as good a job as 2.
If a child is born with only one kidney, it will grow to the weight of 2 kidneys combined.