The kidneys are two bean-shaped organs located in the posterior abdomen, one on each side of the spine, extending from the twelfth thoracic vertebra (T12) to the third lumbar vertebra (L3).