Study identifies key causes of heart attacks