A. Air gaps are required by most plumbing codes for dishwashers and for water softeners. They are needed to prevent any possible cross-connection between your potable water system and your sewage system.
Without an air gap, there is always a chance (however slim) of siphoning contaminants from your sewage system into your drinking water system.