How counter current system operates in kidney and what is its function?

How counter current system operates in kidney and what is its function?

The counter current mechanism involves
(i) the loop of Henle, (ii) the vasa rectae, (iii) nearby collecting tubules and collecting ducts,
(iv) the intestitial fluid between these structures.