Jimmy Fallon and Justin Timberlake host star-studded Saturday Night Live episode

Visit NBCNews.com for breaking news, world news, and news about the economy

The show’s season finale featured cameos from musicians, actors and politicians, including Sir Paul McCartney and Madonna who discussed politics on The Barry Gibb Talk Show.

Timberlake played the role of Robin Gibb and Fallon that of Barry Gibb, both brothers and members of the Bee Gees.

The real Barry Gibb himself was also part of the show, as well as Paul McCartney and New York City mayor Michael Bloomberg.

Timberlake and Fallon performed a ‘Christmas Wrap’ duet in which they rapped while dressed as wrapping paper.

Timberlake performed “Only When I Walk Away,” a song off his 20/20 Experience album.

The episode also featured a spoof of Kanye West and Kim Kardashian in the form of a fake morning talk show called “Waking Up With Kimye.”

Other mocked celebrities included Shakira, Pitbull, DMX, Lorde, Billie Joe Armstrong and Alanis Morissette in a funny ad for Now That’s What I Call Christmas.