Lily Allen has revealed her late baby son inspired the song she wrote for the movie 'Pan'.

Lily Allen

Lily Allen

The 30-year-old singer penned 'Something's Not Right' in memory of the child she tragically delivered stillborn six months into her pregnancy in 2010 after contracting a viral infection. After the birth, the musician was admitted to hospital and treated for septicaemia.

Lily - who has two daughters, Ethel, three, and two year old Marnie with her husband Sam Cooper - took to Twitter to make a series of deeply personal posts on the site and direct fans to a YouTube page where you can listen to the track from the Hugh Jackman led fantasy film.

The pop star also urged her followers to donate to Sands, the stillbirth and neonatal charity.

On Tuesday (27.10.15), she wrote: "5 years ago today I was admitted to hospital. 4 days later I delivered a beautiful baby boy, but sadly he didn't make it ... It's unlike me to discuss this sort of thing so publicly but I wrote this song in his memory when writing something for @panmovie ... please listen and if you fancy it, you could donate in his memory https://www.uk-sands.org/donate .much love, lil x (sic)"

In 'Something's Not Right', Lily sings the heartfelt lyrics: "Something's not right / There aren't many stars in the sky tonight / Something's not right / Cause I know that it's day but it's dark outside / And I feel a weight in my heart tonight.

"We had forever / We never got it together / They kept telling me that it was unlikely / All I had to do was keep you beside me."

Previously discussing the emotional torment she went through due to the stillbirth, Lily revealed: "It was horrendous ... I have dealt with it, you know, as being at one with it. But it's not something that you get over."