Type 1 diabetes is an autoimmune disease in which the body stops producing insulin, requiring treatment with exogenous insulin from diagnosis. It usually appears in childhood or adolescence, although it can also occur in adults. Type 2 diabetes, on the other hand, develops through insulin resistance and is more lifestyle-related. It can be controlled with diet, exercise, oral medication and, in some cases, exogenous insulin. It is more common in adults, but can also occur in young people with risk factors.