An acid is a chemical that produces a sour taste, while a base is a chemical that produces a sweet taste.