First of all, we need to know about what is diabetes and what are the…