Zocor is a statin, a drug that decreases the risk of heart attack, stroke and heart complications in those with diabetes and heart disease. Patients can take Zocor only if they are at least ten years old. Taking Zocor usually comes with exercise and diet, as well as control of weight.