Tom Hanks sang and danced at the U2 concert in Las Vegas

The U2 concert in Las Vegas attracted fans from all over the world and also quite a few celebrities.

Tom Hanks, 67, and Rita Wilson, 66, were caught on video by a fan while swaying to the Irish rockers' hit It's a Beautiful Day, according to TMZ.

When the chorus came on, the pair danced and sang enthusiastically. The "Forrest Gump" star even took time out from jamming out to the songs to wave to a nearby fan.

Nearby, 32-year-old Ed Sheeran was also clearly enjoying the show, which featured covers of the rock band's 1991 album Achtung Baby.

U2 signed a three-month contract to open the $2.3 billion state-of-the-art concert venue, The Sphere, which opened in September and was extended through March.

Tom, Rita and Ed are just the latest Hollywood stars to enjoy the show.

Paul McCartney, Adam Scott, Snoop Dogg, Ava DuVernay, Matt Damon, Bryan Cranston, Chelsea Clinton, Mario Lopez, Dakota Fanning, Darren Aronofsky, Diplo and Dr. Dre have all attended the Irishman's Sphere show over the past few weeks. /BGNES