Styles first joined Corden for a "We Have a Singing Problem" sketch.
He later took the stage to perform "Two Ghosts".
TV show host James Corden will return as the host of the Grammy Awards 2018.
Terence Patrick/CBS ©2017 CBS Broadcasting, Inc.
The best part of Harry Styles hanging around James Corden on The Late Late Show this week? That connection to music stars makes him a good fit for music's biggest night.
Harry appeared at the top of the show during the guest introductions and showed his dressing room had been converted to feature a king size bed.
The One Direction star, 23, turned his hand to stand-up comedy and took aim at the U.S. president in a ten-minute monologue on James Corden's Late Late Show. Corden brought comedy - including a "Carpool Karaoke" rendition of "Sweet Caroline" - into the mix this year at the Grammys. Take his show The Late Late show for example.
"Amy and Ben have ended their relationship after thoughtful consideration and remain friends", a Schumer representative told People, which first reported the news Tuesday night.