Miley Cyrus recently debuted a brand new track about her friend's dead cat, titled "The Twinkle Song," live during her Art Basel performance in Miami, Florida.

Clad in a sparkling silver and purple wig and a silver leotard underneath a matching stripper shirt, Cyrus introduced her somber piece on a just-deceased animal to the crowd.

"I've never played by myself on a stage before, and you've never played a song that I've only played in my living room before, so I'm a little nervous," she admitted to the audience.

Before sitting down in front of the piano, the "Adore You" singer briefly explained what inspired her to create the slow-tempo, acoustic music.

"I write about death a lot, randomly," she said. "My friend, she lost her cat, and I had these crazy dreams the night that her cat died, so I feel like her cat kind of told me what I was supposed to say to her to get her through it, and it was more therapy to me than anything."

In the same performance, Cyrus smoked marijuana onstage, sang a duet with a topless woman and was joined by her close pal Wayne Coyne of the Flaming Lips.

This is not the first time that the pop star has paid tribute to a late animal, as she sang the Fleetwood Mac classic "Landslide" to an inflatable replica of her pet dog Floyd in Boston earlier this year.

While in Miami, Cyrus certainly had some wild nights, as she reportedly engaged in a make-out session with Paris Hilton in front of her new boyfriend Patrick Schwarzenegger at the E11EVEN nightclub, according to Us Weekly

In addition, the "Wrecking Ball" hitmaker's fourth studio album "Bangerz" was nominated for Best Pop Vocal Album at the upcoming 57th Annual Grammy Awards.

Check out Cyrus' performance at Art Basel Miami Beach below: