Type 2 diabetes is a chronic condition that occurs when your body doesn't properly use insulin, a hormone that helps glucose enter your cells.