The song, which has been described as an ode to the singer's "passion for science, technology and space exploration," will be beamed back from Mars to Earth and played at a special event held by Nasa in Pasadena, California.

This project is a collaboration between Nasa and the rapper's i.am.angel Foundation - which aims to provide digital resources in US classrooms.

Will.i.am was present at Nasa's Jet Propulsion Laboratory when Curiosity landed on Mars, he tweeted: