John Legend and Charlie Puth Perform Each Other's Songs on Dueling Pianos at 2022 iHeartRadio Music Awards

John Legend and Charlie Puth
Kevin Mazur/Getty Images for iHeartRadio

The pair went head-to-head Tuesday night in an epic performance that showed off some of their biggest hits.

John Legend and Charlie Puth just went head-to-head at the 2022 iHeartRadio Music Awards for a collab we never knew we needed. The pair took the stage at Tuesday's iHeartRadio Music Awards in Los Angeles, and surprised the audience by performing some of each other's biggest hits.

Sat at dueling pianos, Legend kicked off the performance by gushing over Puth, telling the 30-year-old singer what a big fan of his he is, before launching into his very own rendition of Puth and Wiz Khalifa's "See You Again," which is the first song he said he heard by Puth.

Puth returned the favor, telling Legend, "the first song I heard of yours was, the song that made me want to play the piano was...," he began before belting out Legend's "Ordinary People."

The back-and-forth continued with the pair each playing the piano and singing snippets of their most notable tracks, from "We Don't Talk Anymore" and "Tonight (Best You Ever Had)" to "Attention" and "All Of Me."

Kevin Mazur/Getty Images for iHeartRadio

In a slight musical break, the pair revealed that they actually write songs together before teasing their forthcoming collaboration, "Dope."

The dueling piano performance closed out with Puth's latest tune, "Light Switch," which saw Legend dancing and singing along to the track while Puth played the keys.

The star-studded show was filled with monster performances, with iHeartRadio brining in some of the biggest names in music to perform live.

Hosted by LL Cool J -- who also performed during the jam-packed ceremony -- this year's show featured some incredible numbers from artists like Megan Thee Stallion, Måneskin and Jason Aldean to name a few.

The night also featured a special performance from and tribute to Jennifer Lopez, after the star was honored with the iHeartRadio Icon Award.

Check out the full list of the night's big winners and some of the most memorable moments from the 2022 iHeartRadio Music awards here!