Space stinks

Another factor on the Apollo programme was that drinking water in the command module came from the fuel cells which turn hydrogen and oxygen into water and energy. Water was a waste product, but imperfect combination of the two gasses left gaseous hydrogen in the water which had to be expelled from the body.

Michael Collins wrote that Apollo 11 had rather a bad smell about it by the time they got to the end of the mission.