Gout is a type of arthritis that occurs when uric acid builds up in the blood and forms crystal deposits in the joints, leading to inflammation and pain. It most commonly affects the joint in the big toe, but can also affect the ankles, knees, wrists, and other joints.