Medical malpractice occurs when a healthcare provider fails to meet the standard of care, resulting in injury or harm to the patient. This could involve surgical mistakes, misdiagnosis, or failure to treat a condition properly.