• Stars like Ed Sheeran, Jessie J, and Sia got their start in the music business writing for others before they became big stars themselves.
  • Sometimes covers of older songs, like Whitney Houston’s version of Dolly Parton’s “I Will Always Love You,” become so famous that the public forgets they were ever a cover.
  • Visit INSIDER’s homepage for more stories.

It’s no secret that not all musicians write their own songs. Plenty of major award-winning artists got their start as songwriters. Others like to shop their songs around, trying to find the highest bidder before attempting to sing it themselves.

Here are some major hit songs that were written by other celebrities.

Ed Sheeran wrote One Direction’s “Little Things” when he was just 17 years old.

Foto: Ed Sheeran at the 2018 Brit Awards and One Direction at the 2014 American Music Awards.sourceVianney Le Caer/Jordan Strauss/Invision/AP

Ed Sheeran wrote “Little Things” as a teenager with his co-writer and friend, Fiona Bevan.

The song was lost over time, but Bevan found it again in 2012 and sent it back to Sheeran, who played it for One Direction. The band then claimed it for their album, “Take Me Home.”

Miley Cyrus' hit "Party in the USA" paid Jessie J's rent for three years.

Foto: Miley Cyrus performing in 2009 and Jessie J in 2017.sourceJason DeCrow/Chris Pizzello/Invision/AP

Before she recorded "Bang Bang" with pop icons Ariana Grande and Nicki Minaj, Jessie J was making most of her money with songwriting.

In 2015, she told Glamour UK, "'Party In The USA' paid my rent for, like, three years. Actually it was way longer than that. That's where I get most of my money. I write songs. I'm a singer. I love endorsements and stuff, but that's all added on."

Kesha's been writing for artists like Britney Spears since before she became a household name.

Foto: Kesha and Britney Spears performing in 2011.sourceJonathan Short/AP

Kesha wrote for The Veronicas and K-pop artists before Britney Spears snapped up her song "Till the World Ends" for her 2011 album "Femme Fatale." With carefree lyrics like, "Keep on dancin' till the world ends," the song bears the mark of a Kesha classic.

Two huge stars passed on Sia's song, "Pretty Hurts," before it was recorded by Beyoncé.

Foto: Sia and Beyoncé in 2016.sourceRich Fury/Daniela Vesco/AP

According to The New York Times, Sia Furler's ballad "Pretty Hurts" was originally written for Katy Perry, who didn't see the opportunity in her email.

Sia didn't get a response from Perry, so she sent the song to Rihanna's manager, who sat on it for eight months without making a move.

"When Beyoncé heard it, she slid into home base and just closed the deal," Furler said.

When Perry eventually heard the song, she allegedly told Furler, "I'm pretty hurt you never sent me this song." Furler responded, "Check your email."

Ed Sheeran wrote the pop song "Trust Fund Baby" for Why Don’t We.

Foto: Ed Sheeran at the 2018 Berlin International Film Festival; Why Don't We performing in September 2018.sourceMarkus Schreiber/Charles Sykes/Invision/AP

The catchy jam applauds women who make their own money, denouncing "trust fund babies," and led to a nearly sold out North American tour for the boy band.

Bruno Mars let Cee Lo Green take "Forget You."

Foto: Bruno Mars at the 2018 Grammy Awards and Cee Lo Green performing in 2018.sourceCharles Sykes/Invision/AP / Erik Kabik Photography/MediaPunch

Bruno Mars revealed on The Graham Norton Show that he wrote the hit song, alternatively titled, "F--k You," during a jam session with Cee Lo Green.

Kelly Clarkson's big hit, "Miss Independent," was supposed to be on Christina Aguilera's album.

Foto: Kelly Clarkson and Christina Aguilera in 2002.sourceLucy Nicholson/Lee Roth/AP

Pop queen Christina Aguilera abandoned "Miss Independent" during the production process of her 2002 album, "Stripped." The half-finished Aguilera track was revamped for "American Idol" winner Kelly Clarkson's very first single.

Whitney Houston's "I Will Always Love You" is a Dolly Parton creation.

Foto: Whitney Houston performing at the 1994 American Music Awards; Dolly Parton in 1980.sourceMark J. Terrill/Harms/AP

The sweeping ballad "I Will Always Love You" topped the country charts when Dolly Parton's original debuted in 1974 and then again when Whitney Houston recorded it for "The Bodyguard" in 1992.

According to MTV News, Houston's version was the "best-selling single of all time by a female artist" and stayed at No. 1 on the Billboard Hot 100 charts for 14 consecutive weeks becoming "the longest-running No. 1 single ever by a female artist."

Sia wrote Rihanna's hit "Diamonds" in just 14 minutes.

Foto: Sia at the 2017 Vanity Fair Oscar Party; Rihanna performing in 2015.sourceEvan Agostini/Rich Fury/Invision/AP

With help from Benny Blanco, Sia wrote the famous track at Rihanna's studio in only 14 minutes. Rihanna loved the demo so much she imitated Sia's inflections on the vocals for her recording.

Justin Bieber's "Love Yourself" was co-written by Ed Sheeran and "Eastside" producer Benny Blanco.

Foto: Justin Bieber and Ed Sheeran in 2015.sourceDavid M. Benett/Dave Benett/WireImage

Justin Bieber's popular single, "Love Yourself," about saying goodbye to a narcissistic lover, was penned by Bieber, Sheeran, and Blanco. It was originally slated for Ed Sheeran's album, "Divide," but after finding it too personal and harsh, he gave it to Bieber for 2015's "Purpose." Sheeran also provides back-up vocals on the stripped down break-up song.