Coffee roasting is an important process in determining flavor, and even the same beans can taste different depending on how they're roasted.
When roasting begins in a roaster, the beans first enter the drying stage at 100-160°, which removes the green smell of the raw beans.
The temperature then rises to around 150°, causing sugars and amino acids to combine and release an aroma. This change in state is called the Maillard reaction, and a fragrant aroma is released. The Maillard reaction brings out sweetness and aroma.