Ariana Grande performs at Wango Tango at Banc of California Stadium on Saturday, June 2, 2018, in Los Angeles. (Photo by Chris Pizzello/Invision/AP) Image Credit: Chris Pizzello/Invision/AP

Ariana Grande has released a song referencing her exes, including former fiance and Saturday Night Live star Pete Davidson and the late Mac Miller.

The midtempo song Thank U, Next references past splits and expresses gratitude for what she has learned from the relationships. She talks about a Sean — she dated rapper Big Sean — and a Pete and Malcolm, which is the real first name of Miller. She says she wishes she could thank Malcolm and calls him an angel. The rapper died of a drug overdose in September.

In the song, she sings about her new love, “Ari,” and says “she taught me love, she taught me patience.”

Meanwhile, an emotional Davidson referenced the split on SNL, calling her a “wonderful, strong person.”