Ammonium carbonate is produced by contacting carbon dioxide and ammonia .
Ammonium carbonate is a white solid .