Coffee beans get their characteristic aroma and colour only when they are roasted. ... Therefore, for the purpose of making coffee, or getting it's flavour in desserts, yes, you need to roast the beans. Green coffee beans do have caffeine, hence can be used to get a caffeine shot without the flavour of coffee.