Roasting coffee beans is essential to develop their flavor. The roasting process affects the bean's color, aroma, and taste. The longer the beans are roasted, the darker and more intense the flavor.