What happens to vitamin C when tomatoes become sauce?
Heating tomatoes lowered their vitamin C. The same samples gave up more of the pigment that makes them red.

You slice one tomato into a sandwich and stir the rest into sauce. Does cooking cost you anything? It depends on what you measure. In a lab test, heated tomatoes had less vitamin C. The researchers could also extract more lycopene, the pigment that gives tomatoes their red color. [1]
How long were the tomatoes on the heat?
The researchers held samples at 190°F (88°C). They tested some after two minutes, some after 15 and the rest after half an hour. They also tested raw tomato from the same experiment.
After half an hour, vitamin C was about 29% lower than in the raw sample. The amount of one form of lycopene that the team could extract was more than twice as high. Heat can make a substance easier to get out of the tomato tissue. [1]
Does that mean you absorb twice as much?
The researchers worked with tomato samples. Nobody ate the sauce or gave a blood sample afterward. The amount a lab can extract doesn’t tell you the exact amount your body takes up from dinner.
If you’re deciding where to put the last tomato, keep the meal in mind. Slices keep more of the original vitamin C. A pot of sauce makes some of that red pigment easier to release.