Where is the kidneys in the body and what is their function?

See below. The kidneys are in the small of the back on either side of the spine and they help in eliminating waste and regulating salt and water balance and various electrolytes.