Coffee liqueur is made by infusing coffee beans with a base spirit, such as rum, vodka, or brandy, and then adding sugar to achieve a balanced sweetness. The choice of coffee beans and the processing method impact the final flavor, creating a rich and complex liqueur. The production process involves steeping the coffee beans in the alcohol for a specific period to extract the flavors, followed by filtering and sweetening the concoction.