The 21-year-old, from Portobello, has been playing guitar for as long as she can remember and said she was honoured when the charity chose her work for their new campaign.

The advert shows a group of pets who are in the charity’s care but need money from the public to allow the Scottish SPCA to continue their hard work.

Megan, who has been writing music since she was 16 and performs as “Megan D”, said: “As an animal lover I was honoured to receive a message asking if the Scottish SPCA could use my song as part of their TV campaign.

“Having watched the advert through, it seems like a perfect fit, almost as if it had been written for that purpose.

“As I was recording the song in the studio I felt very proud to be doing something to help such a worthwhile cause.”

Megan, who is studying journalism at the City of Glasgow College, is a former pupil of George Watson’s College.

She wrote Every Song that I Sing – the advert song – around four years ago and it now enjoys radio airplay.

One of the charity’s producer’s heard the song at the time, but it wasn’t until recently they got in touch with Megan.

She said: “I wrote the song when I was in my bedroom one day while I was sitting looking out of my window.

“The song has more of a theme than a meaning.

“It’s about how we always want someone to be there but they aren’t necessarily always there. I think it fits in really well with the Scottish SPCA’s advert.”