Choking occurs when an object partially or completely obstructs a person's airway, blocking the flow of air to the lungs.