Does gum really fight bad breath?

Many people chew gum to help with their bad breath, but does it actually change anything or just mask it? We have all had them, the boss or co-worker that has coffee breath and it’s just painful. Constantly offering them gum doesn’t seem to do the trick....