A coronary angiogram is used to visualize the blood supply of the heart by injecting dye into the coronary arteries. It can be used to investigate chest pain, evaluate heart disease, and plan treatments. The procedure involves inserting a catheter into an artery or vein and guiding it to the heart to inject dye and take x-ray images of the coronary arteries from different views.