Miley Cyrus Shares New Song 'Hands of Love' in 'Freeheld' Trailer: Watch

Miley Cyrus
Kevin Mazur/WireImage for Rock and Roll Hall of Fame

Miley Cyrus performs onstage during the 30th Annual Rock And Roll Hall Of Fame Induction Ceremony at Public Hall on April 18, 2015 in Cleveland, Ohio.

A new song sung by Miley Cyrus and written by Linda Perry called "Hands of Love" scores a trailer for the film Freeheld.

What's Next for Miley Cyrus?

The film stars Ellen Page and Julianne Moore as real life lesbian couple Stacie Andree and Laurel Hester, respectively, who fought New Jersey county officials for the rights to transfer Hester's police pension benefits to Andree. 

See the new trailer, which was released Monday, here:

According to Time, it was Page who suggested Cyrus to sing on the Perry-penned track. "She has a really raw, unique, awesome, beautiful voice, and Miley's doing a lot of incredible things for the LGBTQ community," Page told the publication. "I just thought it was going to be a perfect fit. She and Linda made something really special. I kept listening to it after I heard it."

Miley Cyrus' 'Dooo It!' Debuts on Billboard + Twitter Top Tracks

For Cyrus, it gave her an opportunity to combine her passion for LGBT equality with her music. She told Time, "People like to learn through entertainment. It's an interactive way to get people to hear your message by putting it in a song they like to listen to, or a film they want to see."

Freeheld will hit theaters Oct. 2.