Carrie Underwood, Beyonce and President Obama Inspire at The Global Citizen Festival

Getty Images

The Global Citizen Festival had music and celebrities, but at the center of it all, was an important cause.

With an all-star lineup, the Global Citizen Festival in New York City last night was not just a music festival for fun.

In its third year, the festival in Central Park had a lineup including Beyonce, Jay Z, Carrie Underwood, No Doubt, Alicia Keys, The Roots and Tiesto.

While Beyonce and Jay Z ended their On The Run Tour, they performed together again to the excitement of the audience.

NEWS: Beyonce and Jay Z's Emotional End to On The Run

Pregnant and stylish in heels, Underwood covered R.E.M's "Everybody Hurts."

PHOTOS: Carrie Underwood Is The Most Adorable Pregnant Woman

No Doubt's Gwen Stefani was joined by Sting, and they sang "Message In a Bottle."

At the heart of all of these amazing performances was a cause to end extreme poverty.

NEWS: Matt Damon's Passionate Cause describes the event's international reach, "In front of a crowd of 50,000 Global Citizens, 15 world leaders like World Bank President Jim Yong Kim and UN Secretary-General Ban Ki-moon, with heads of state like, Narendra Modi - Prime Minister of India and Ellen Johnson Sirleaf - Prime Minister of Liberia, and over 30 celebrities, we joined together to take action and make commitments that will make a significant difference to the lives of the world’s poorest people."

President Obama was also there via a video message saying, "You are now part of the global fight to end extreme poverty, and this is a fight we can win."

Today, the impact has already been seen. the World Bank’s Senior Director of Water Global Practice Junaid Ahmad said, "It is with pride today that I announce that the World Bank Group commits to spend 15 billion over the next 5 years to provide safe sanitation and water solutions. And in partnership with the United Nations and organizations like BRAC, WaterAid, and One Drop reach close to 150 million poor people."

Beyonce brought attention to the Global Citizen Festival, but you have to check out the video below to see more about the power she has.