B-52 is a layered cocktail that was invented in Banff, Canada in 1977, and was allegedly named after the long-range bomber used by the Americans during Vietnam War. It consists of coffee liqueur (usually Mexican Kahlúa), Irish cream (usually Baileys), and Grand Marnier orange liqueur.
In some versions, Grand Marnier can be replaced with triple sec, Amaretto, Cointreau, or even absinthe. If prepared correctly, the elements are built in a shot glass, and the layers should be visible, with coffee liqueur on the bottom and orange liqueur on top.
This recipe is adapted from the website of International Bartenders Association.