The things that you may have was probably "Ketones" - these are produced when your body breaks down fats in the absence of enough insulin to break down glucose. This is true when you have high blood glucose levels (generally agreed to be above 13.0 but varies from person to person). These are toxic to your body, and prolonged raised levels cause damage to your body. The presence of high amounts of these also cause a condition called "Diabetic Ketoacidosis" or DKA for short. In DKA, you have high blood sugar levels, high blood ketone levels, and as a result of having high ketones your blood has become acidic. This can be dangerous, potentially fatal, if not treated. If you are ever in DKA, you will probably be admitted to hospital.
The insulin that you have been prescribed will allow your body to use glucose for energy instead of fats. This will reduce the ketone levels in your body, you will urinate them out and such, to a healthy level and moderate your blood glucose levels and things will go back to normal!
It is important that you check your ketones if your blood sugars are ever raised for a prolonged period. You should also be aware of the symptoms of DKA. Although they vary from person to person, symptoms are those which are generally ascribed to diabetes: drinking/weeing lots, breath that smells like pear drops, nausea/vomiting, etc.