By Maria Yagoda
Updated May 20, 2016 03:45 PM
Credit: Kevin Mazur/Getty

We’re about to make you feel very naïve. Sorry in advance.

As it turns out, you may not know the meaning behind many, many songs that you sing regularly. Here are six artists, from Joe Jonas to Justin Bieber, who’ve recently revealed the real inspiration behind their hits.

1. Joe Jonas reveals what "Cake by the Ocean" is actually about.

“Working on the record, these Swedish producers that we were working with, they kept confusing ‘sex on the beach’ with ‘cake by the ocean,’ so that’s how the song started,” Jonas told MTV News. “Then, it became this kind of lyrically wacky song, and it kind of embodies the band. It’s funky, it’s fresh, I think it’s something that people can dance to.”

2. Meghan Trainor wrote "Just a Friend to You" for an actual real-life friend.

One of the ballads off of Trainor’s new album, Thank You, was inspired by an IRL relationship. “[It’s] about this situation that I had since I was 18,” she told PEOPLE. “We live in different places and it can never work out, but for some reason, we always come back to each other and we’re always like, ‘We shouldn’t do this!'”

3. The inspiration for "All You Had to Do Was Stay" came to Taylor Swift in a dream.

“I had a dream that my ex showed up at my door, knocked on my door, and I opened it up, and I was about ready to launch into the perfect thing to say,” Swift told Ryan Adams in an interview for GQ Magazine. “And instead, all that would come out of my mouth was that high-pitched chorus of people singing, ‘Stay.'”

4. Hanson’s ‘MMMbop’ apparently isn’t just about, like, bopping around.

It’s sort of about God and Life and the Bigger Picture?

Taylor Hanson told Vulture: “It does tap into a theme we’ve continued to have, which is to interweave relatively serious thoughts – the verses, you know, ‘You have so many relationships in this life / Only one or two will last / You go through so much pain and strife / You turn your back and they’re gone so fast’ It’s not exactly sunshine and rainbows, but it’s packaged in a way that it’s looking for the moral to the story.”

5. Rachel Platten basically wrote her hit "Fight Song" as a motivational anthem for herself and was shocked by its success.

“Ten months ago I was on a house concert tour in a van playing to like 20 or 30 people a night,” Platten told ABC. “I wrote the song when I was going through such a hard time and I needed to remember to believe in myself … So the fact that it’s reached anyone other than me is really incredible.”

6. Justin Bieber admitted to Ellen DeGeneres that (at least) three songs off of Purpose were inspired by Selena Gomez.

“What Do You Mean?” “Sorry,” and “Mark My Words.”

“There’s a lot of stuff that reminds me of her,” Bieber went on to say. “In relationships, you see something on TV and you’re like remember when we used to watch this.”