Basically what is it and when is it necessary?

A test to evaluate multiple components of urine. These components include the presence of blood, infection, sugar in the urine, as well as the concentration of urine. Urinalysis is an useful screening tool for many diseases including cancer, infection, and stones in the urinary tract.