Ketones are chemicals produced by the liver when the body does not have enough insulin to convert glucose into energy, causing the body to break down fat for fuel instead.