system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Why does the method of cooking change the taste of food so drastically?

Things like tomatoes and onions taste completely different when they are boiled, versus when they are fried or baked. I would just assume that, providing the food material reached a comparable temperature (for instance boiled at 100C or baked at 100C), the food taste would be comparable, but it still tastes completely different. What factors are responsible for this difference?
gpt
When they are fried they are infused with the oil you fried with, when boiled they are more filled with water, when baked they are as they are minus the burnt juices (speaking of onions as the example given)