The nephron carries out its role of osmoregulation in a series of stages. Firstly, the formation of the glomerular filtrate via ultrafiltration, then the reabsorption of glucose and water by the proximal convoluted tubule. Then, the maintenance of a gradient of sodium ions in the medulla by the loop of Henle. Finally, the reabsorption of water by the distal convoluted tubule and collecting ducts.