Not only did George Michael give the world plenty of legendary pop songs, he also played a key role when it came to inspiring James Corden's massively popular "Carpool Karaoke" segment.

The first time "The Late Late Show" host did a bit where he sang in a car with a pop star, it was with Michael for a Comic Relief skit that aired on the BBC in 2011.

Michael, who died at 53 at his home on Sunday night, sings some of his biggest hits with Corden while driving around in a precursor to the hit series that Corden began on "The Late Late Show" last year.

RELATED: Celebrities take to social media to mourn the loss of George Michael

Michael also showed off his sense of humor, playing Corden's awkward friend and lampooning his personal image and some of his songs.

"We couldn't put our finger on why is this so joyful?'' Corden told Howard Stern on his SiriuxXM radio show in June about the segment with Michael. "There's a joy in here."

RELATED: From Adele to Michelle Obama: 7 of our favorite Carpool Karaoke segments

Corden also paid tribute to Michael after hearing the news of his death.

I've loved George Michael for as long as I can remember. He was an absolute inspiration. Always ahead of his time. — James Corden (@JKCorden) December 25, 2016

George Michael wrote Praying for Time 25 years ago but I truly believe it's message means more now than ever. https://t.co/f03zlWYbLa — James Corden (@JKCorden) December 25, 2016

Michael was followed by Mariah Carey, who agreed to do the initial Carpool Karaoke segment on Corden's show. That eventually blossomed into hit spots with the likes of Adele, Jennifer Lopez, One Direction, and Madonna.

Follow TODAY.com writer Scott Stump on Twitter.