Oven in which a caustic substance is produced