Camila Cabello and Shawn Mendes's "I Know What You Did Last Summer" is our latest obsession, and the Fifth Harmony singer drew straight from her experiences when writing it!

“It was something I was going through at the time. Basically, I was talking to this boy — it was literally three days before we wrote the song," she told Fuse.

CLICK HERE FOR 8 SHOCKINGLY RELENTLESS BREAKUP SONGS CELEBRITIES WROTE ABOUT THEIR EXES!

"My friend had called me and was like, ‘Hey, this boy that you’re talking to is hitting me up and trying to flirt with me.’ I really liked him a lot, so the inspiration for me was when I found out that he was not involved with just me. I confronted him, and obviously we weren’t a thing anymore. That’s why I connected to it so much.”

You can definitely tell that she has an emotional connection to the song — and it's really powerful. While it sucks that some guy did this to her, at least she has a great song out of it! (And we can probably rule out the fact that this song is about Austin Mahone. They weren't just talking, they were actually dating.)

Are you surprised that someone would do that to Camila? Has something like this ever happened to you? Let us know in the comments!