Under normal circumstances, oxalate is handled by the kidneys and excreted in urine. However, when oxalate levels exceed the body's capacity to excrete it, or when there is a metabolic disorder affecting oxalate processing, it can lead to accumulation in the body. This can contribute to the formation of calcium oxalate crystals, particularly in the kidneys.