Myocardial infarction occurs when there is an imbalance between oxygen supply and demand in the heart muscle. It is classified as ST-elevation MI or non-ST-elevation MI. Biomarkers like troponin and CK-MB are used to diagnose MI. Risk factors include age, smoking, high cholesterol, and hypertension. Treatment involves antiplatelet agents, oxygen, nitrates, beta-blockers, anticoagulants, thrombolytics, and percutaneous coronary intervention to restore blood flow and salvage heart muscle. Long term management focuses on secondary prevention with medications like aspirin, statins, beta-blockers, and ACE inhibitors.