Gout is a medical condition characterized by the formation of urate crystals due to elevated levels of uric acid in the body. The primary cause in most cases is inefficient renal excretion of urate, although overproduction of uric acid can also contribute.