Ariana Grande, Leonardo DiCaprio, Justin Bieber among celebrities collaborating on Lil Dicky climate change charity song

Rapper Lil Dicky has released a star-studded song to raise awareness about climate change to coincide with Earth Day.

The seven-minute music video for 'Earth' will donate proceeds to charity, and boasts an extensive list of celebrities lending their voice to numerous animated animal characters.

Among the stars are Justin Bieber as a monkey, Ariana Grande as a Zebra, Snoop Dogg as a marijuana plant, Sia as a kangaroo, Miley Cyrus as an elephant, Ed Sheeran as a koala, and Katy Perry as a pony.

But it leaves possibly its biggest star to the end, with Leonardo DiCaprio, a staunch climate change activist, appearing as himself.

"I wanted to make the most entertaining and epic piece of content possible, to get everyone aware and talking," Lil Dicky told Variety.

With DiCaprio's foundation on board, portions of the profits made from the song and its merchandise will be given to charities focussed on global warming and climate change.

"As activists across the world make their voices heard and inject new life into the environmental movement, we are delighted to be working with Lil Dicky and other collaborating artists to help build even greater support for climate solutions at this critical time," said the Leonardo DiCaprio Foundation executive director, Justin Winters.

A website to go alongside the music video has also been launched to educate people about climate change, what can be done to tackle it and the impact it is having on the public.

In two days, the video has already been viewed more than 10 million times.