Glycosuria is the presence of excess glucose in the urine, typically an indicator of hyperglycemia and often associated with conditions like diabetes mellitus. It occurs when the renal threshold for glucose reabsorption is exceeded, leading to glucose being excreted in the urine instead of being fully reabsorbed by the kidneys.