Hydronephrosis is a medical condition where the kidneys start to swell due to the inability of urine to drain properly from the kidney to the bladder. This blockage or obstruction in the urinary tract can lead to an accumulation of urine, causing kidney damage over time if not addressed. The condition is commonly associated with kidney function impairment and can occur in one or both kidneys.