Diabetes mellitus can be defined as a metabolic disorder characterized by hyperglycemia or high blood…