Ammonia cookies are a traditional Polish treat and the ammonia refers to ammonium carbonate, the type of leavener used in the rolled dough.