Thiazolidinediones, also known as glitazones, are a class of medications primarily used to treat type 2 diabetes. They function by improving insulin sensitivity, thereby aiding in blood glucose control. The most common drugs in this class include rosiglitazone and pioglitazone.