Methane and carbon dioxide are produced in the intestines, and ammonia is created by the breakdown of urea in sweat.