User: What are the causes of diabetes?
Assistant: The primary causes of diabetes are most often related to lifestyle factors, such as being overweight or obese, leading a sedentary lifestyle, poor diet, and consuming too much sugar and refined carbohydrates. Genetics can also play a role, as some people are more likely to develop type 2 diabetes due to their genetic makeup. Certain medical conditions, such as having an underactive thyroid, can also lead to diabetes.