Both gallstones and kidney stones can be very painful. Gallstones are deposits of digestive fluid, while kidney stones are crystals formed from chemicals in the urine. Both types of stones may pass. Gallstones may require the removal of the gallbladder.