Type 2 diabetes increases the risk of chronic kidney disease, making prevention of kidney failure a key part of treatment.