Coffee’s journey from bean to brew is lengthy and complex. Enthusiasts are likely familiar with roasting and grinding, but these processes are among the final steps in a much more intricate voyage. In fact, before the seeds of a coffee tree even begin to resemble espresso beans, they start life as fruit that bears a closer resemblance to cherries.

How are these “coffee cherries” transformed into the dried beans that are used to brew high-quality coffee? We’ve illustrated the journey in a handy infographic below.