Statins are a class of drugs primarily used to lower cholesterol levels in the blood. They work by inhibiting the enzyme HMG-CoA reductase, which plays a critical role in the production of cholesterol in the liver. By lowering cholesterol levels, statins help reduce the risk of cardiovascular diseases, such as heart attacks and strokes.