Diabetes is a chronic disease that occurs either when the pancreas does not produce enough insulin or when the body…