An oven for food use comprising a cooking chamber and a device for smoking and/or flavoring foodstuffs that includes at least one container capable of being placed inside the cooking chamber and able to contain substances suitable for generating smoke for smoking and/or vapors for flavoring as well as a heat source provided for transferring heat to said substances for the purpose of smoking and/or flavoring the foodstuffs, the oven comprising at least one temperature sensor provided for detecting the temperature of the substance in the container.