system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How does Decaf coffee work? Like isn’t caffeine naturally in the Coffea plant?
gpt
There is indeed caffeine in coffee beans. And when you brew coffee you extract all the caffeine with the flavors and colors in the beans. But there are some solvents which will only dissolve caffeine and not any of the flavors and colors in the beans. So if you brew using these solvents instead of ordinary boiling water then you only get the caffeine. What you are left with is coffee beans with all its flavors and colors but with only trace amounts of caffeine.