The urinary system, also known as the renal system, consists of the kidneys, ureters, urinary bladder, and urethra, and is responsible for urine secretion and excretion. The kidneys, which are the main organs of this system, filter blood to remove waste and maintain electrolyte balance through structures called nephrons, and the processes involved include glomerular filtration, tubular reabsorption, and secretion. Additionally, renal function is crucial for acid-base balance and metabolic homeostasis, with specific mechanisms for bicarbonate reabsorption and hydrogen ion secretion playing significant roles in maintaining internal environment stability.