A food allergy occurs when the immune system reacts to a harmless food. Food intolerance occurs when the body has a chemical reaction to eating a particular food or drink.