As many people know, the past year has been a tumultuous one for singer Demi Lovato. The former Disney star was diagnosed with bipolar disorder and has also been battling depression and an eating disorder. After taking a few months off for some personal time, Ms. Lovato is truly making comeback with her summer hit 'Skyscraper,' and she has Estonian singer-songwriter Kerli to thank for the tune.

PopCrush recently had the pleasure of speaking with the 24-year-old 'Army of Love' songstress about co-penning the track for Lovato, and it turns out the entire track was inspired by one photo. "It was me, Lindy Robbins and Toby Gab. We were in the studio and Lindy came in and she was like, ‘We should write a song called ‘Skyscraper'," Kerli tells us.

"So I Googled ‘skyscraper’ because I’m always looking for images to write after," she continued. "We found this picture where it was the apocalypse ... The world had ended and there was this one skyscraper still standing. I was like, ‘Wow. We need to write after this picture.’ So on the picture exactly, the sun was coming out for the first time and it was raining. We totally zoned out and burned candles and totally wrote it after that picture."

Even though the song was originally written for Kerli, who has dubbed her musical style 'Bubblegoth,' she had no problem handing it over to Lovato. She explains, "Honestly, she sings it so much better and her story is so powerful and so inspiring to so many young kids out there. I don’t think I could’ve delivered that song better than she does -- with the message and everything, [it's] just really powerful."

"It’s so brave of her too to put a song like that out as her first single because nobody puts out a ballad," Kerli says. "And to just go out there and in such a brave way talk about her struggle and everything, it’s really refreshing. I see a lot of kids getting a lot of help from her story, so I’m super, super happy to be part of this."

So what's next for Kerli in the songwriting department? Even though she wouldn't divulge too much, she did tell us that she has been approached to lend her writing expertise to other artists. "Well, now that ‘Skyscraper’ is kind of kicking a--, I’ve actually gotten some offers to write for other people, which is super exciting for me," she says. "So I’ll let you know."

Watch the Demi Lovato 'Skyscraper' Video