Erectile dysfunction (ED) is the inability to achieve or maintain an erection firm enough for sexual activity. It can be caused by physical issues like poor blood flow, health conditions such as diabetes or heart disease, stress, or psychological factors. ED is common in men, especially with age, and can often be treated with medications or lifestyle changes.