Casts are tiny moulds of the kidney's tubules, flushed out in the urine. What they're made of tells you what's happening inside the kidney.
Hyaline casts are made of Tamm-Horsfall protein and can be normal, especially after exercise, fever or loop diuretics. Brown granular casts suggest acute tubular necrosis. Red cell casts suggest a nephritic syndrome. Prerenal uraemia gives a bland urine sediment, without significant cells or casts.