When we are asleep the pH of plaque is neutral (pH7). When we eat, sugars combine with the plaque to form acid and lower the pH. Brushing removes the plaque and the pH increases. Each snack reduces the pH for 30-40mins. Chewing something after meals releases saliva which helps to neutralise the acid. So chewing something like sugar-free gum, helps reduce the acid more quickly.