Type 2 diabetes is a common condition where the body either doesn't produce enough insulin or the insulin it produces isn't effective.