Diabetes is among the most common chronic diseases and occurs when pancreas is unable to produce the…