Adam Lambert, Mary Lambert, RuPaul and Troye Sivan are among the openly gay contributors to the song Hands, which pays tribute to the 49 people killed and dozens injured in a mass shooting last month at the Pulse, a gay nightclub in Orlando.

Other out artists featured on the track include Tyler Glenn, Alex Newell, Ty Herndon and Jussie Smollett. The Trans Chorus of Los Angeles also appears on the song.

Proceeds from Hands will be donated to the Equality Florida Pulse Victims Fund, the GLBT Community Center of Central Florida and GLAAD.

Hands was written by Justin Tranter, Julia Michaels and BloodPop and produced by Tranter, BloodPop and Mark Ronson.

“The second I heard about this horrible tragedy where so many of my LGBTQ brothers and sisters lost their lives, I immediately got on a plane to Orlando,” said Tranter, who came out in his teens. “Putting this charity single together is just a way for me and everyone involved to keep volunteering our help.”

The track opens with Britney Spears singing, “Can hold a gun; And hold your heart; Can put out fires; And make 'em start.”

Other artists appearing on the track include: Mary J. Blige, Jason Derulo, Halsey, Imagine Dragons, Juanes, Jennifer Lopez, Kacey Musgraves, MNEK, P!nk, Prince Royce, Nate Ruess, Meghan Trainor, Gwen Stefani and Selena Gomez.