Insulin is a hormone made by the pancreas that helps your cells bring in sugar. So people who have diabetes have high blood sugar because the sugars in the blood aren't in the cells. So basically they starve to death because they're eating eating eating but the energy stays in the blood but not in the cells.
It also regulates the body stores sugar and fat.