In most cases, the kidney, which is known as the “master chemist” of the body, is responsible for eliminating these compounds through the urine. In most people, kidney stones can be eliminated by drinking enough liquid or prevented from forming altogether by the presence of certain compounds in urine. Calcium, oxalate, urate, cystine, xanthine, and phosphate are the substances that contribute to the formation of stones.