system
Given the following post, respond as if you're commenting on Reddit:
human
How is a decaf coffee made? What is the process of decafing a caffeine drink? Thanks.
gpt
I believe a number of solvents can be used, but generally the coffee beans are soaked in a chemical in which caffeine is fairly soluble, but other coffee flavors are not. The solvent is then discarded and you are left with beans that have low caffeine content, but generally still taste like coffee.

One popular solvent is supercritical CO2. This is a common discussion point when students first learn about supercritical fluids given it's such a practical application.