The chemical method is not used as commonly anymore most places use the swiss water method.
You take a bunch of green beans and soak them in hot water so they release all of their flavour and caffeine.
You then pass that water through a filter that catches the caffeine but doesn’t catch the flavour.
You then throw the beans away and put more beans in the same water. The water is saturated with flavour molecules so the beans retain their flavour but the caffeine is pulled out.
Latest Answers