Urinalysis is the physical, chemical, and microscopic examination of urine to detect and measure various compounds that pass through the urine. Minute crystals and other abnormalities such as protein content in urine can also be detected by the test. In addition, it helps detect various diseases such as urinary tract infections (UTIs), kidney disorders, liver problems, diabetes, or other metabolic conditions.