Is there an oven that can detect when the food is burning and turn off?

Yes, there are ovens with built-in sensors that can detect when food is burning and automatically adjust the temperature or turn off the oven to prevent the food from burning. These ovens are often referred to as "self-cleaning" or "pyrolytic" ovens. They use a high-temperature cleaning cycle to burn off any food residue and grease that may have accumulated on the oven walls, eliminating the need for manual cleaning.