Atorvastatin is prescribed alongside a healthy diet to reduce elevated cholesterol and triglyceride levels in the blood. By lowering these fats, the medication helps prevent cardiovascular complications such as chest pain, heart attacks, and strokes caused by the buildup of fat in the blood vessels.