Insulin occurs inherently, the pancreas produces and releases it whenever you eat something. Insulin's function is to transfer the glucose in the blood to cells where they can be transformed into energy to be used by the body. In the case of Type II diabetes, the body becomes reluctant to take insulin and can't use it properly which results in pancreas functioning harder and producing more insulin. After a period of time, this can harm the pancreatic cells and also result in high sugar levels in the body. An HbA1c Test can assess the presence of high sugar levels in the bloodstream and thus help in assessing the condition.