Jennifer Lopez is showing fans how her new single, "Love Make the World Go Round," came together with Hamilton creator Lin-Manuel Miranda.
"I had this song for a few months," Lopez shares in a docu-short about the making of the song. "I had recorded it and it had this great chorus, 'Love makes the world go round.'"
WATCH: Jennifer Lopez Is All Smiles While Filming 'Love Make the World Go Round' Video
While she knew the track was timely in the face of tragic incidents like the Orlando nightclub shooting, J.Lo felt strongly about finding someone else who could help her bring the song to the world.
"I thought, 'I need a partner in it,'" she says. "I needed a partner who would be the perfect partner to do this with me, and I had seen Lin's speech at the Tonys and it moved me."
After winning his second Tony Award for best original score in June, Miranda shared a touching sonnet during his acceptance speech that made headlines.
EXCLUSIVE: Lin-Manuel Miranda Opens Up About Leaving 'Hamilton': 'This Is Not the End of Anything'
"We live through times when hate and fear seem stronger," Miranda said in his speech. "We rise and fall and light from dying embers, remembrances that hope and love last longer and love is love is love is love is love is love is love is love cannot be killed or swept aside."
Once Miranda was on board, the two artists wasted no time in completing the inspirational tune.
"I was like, 'Let's do your rap now!' I wanted to get to his rap," the former American Idol judge recalls. "He was like, 'We wrote the whole song in 20 minutes. Relax.'"
WATCH: Beyonce Dedicates 'Halo' to Victims' Families in Orlando Shooting
"You have to understand, it took me seven years to write Hamilton, so I'm not used to working this fast," Miranda says with a laugh.
One hundred percent of the proceeds from the song will go toward the Hispanic Federation's Proyecto Somos Orlando.