Medical errors are preventable adverse effects of care that can lead to patient harm. These errors can occur in diagnosis, treatment, or during the management of a patient's condition. They may result from human mistakes, system failures, or a combination of both.