A solar plane attempting to fly around the world just completed a successful mission.

"If this works, of course, everybody can do it on the ground to make a cleaner world," one of the pilots said in a Solar Impulse video.

Solar Impulse's voyage started in March 2015, and a little more than a year later, the plane landed back where it first took off in Abu Dhabi.

The record-setting flight is an important development in the exploration of solar energy, but there have been some challenges along the way. The trip was stalled in Hawaii last summer after the plane's batteries overheated.

>> Read more trending stories

In the last leg of the trip, there were concerns about how extreme heat in the Middle East could affect the plane.

Before the landing, Solar Impulse's final pilot said in a statement: "I'm excited to come so close to the goal, but unfortunately, there are still so many people we have to motivate before having a world running on the same clean technologies."