The body needs glucose (a kind of sugar from food) for energy. If it doesn't get the glucose it needs, it starts burning fat. When fat is burned it produces ketones. Ketones can build up in the blood and urine. This buildup can cause a dangerous condition called ketoacidosis.