A roaster is a machine used to heat coffee beans, typically in a commercial setting. The process involves placing raw green coffee beans into the roaster, where they are heated and rotated until they reach the desired level of roasting. During this process, the beans expand and release oils, which gives them their characteristic flavor and aroma. Once the roasting process is complete, the beans are removed from the machine and allowed to cool before being ground for brewing or consumption.