From supermodel Gisele Bundchen strutting her stuff and Andy Murray carrying the Union Jack flag to an aviator flying in the sky and colourful theatrical performances, the opening ceremony in the Maracana Stadium showed the world what Brazil has to offer.
Here are some spectacular photos from the colourful proceedings:
Maracana Stadium lit up with fireworks.
It created a beautiful spectacle.
Performers wore bright clothing as they took to the stage.
There was a wide variety of colourful acts.
The whole stadium was an explosion of psychedelic lights.
Supermodel Gisele Bundchen walked the longest catwalk ever and still looked stunning.
Artists gave incredible performances.
A choreographed routine saw dancers playing with rope.
There was a bit of Metropolis in one of the theatrical performances.
An "aviator" was flown out of the stadium.
There was a carnival atmosphere among the performers.
The stadium turned into a spectacular colour riot.
Some performers used metallic sheets as props.
A giant hand appeared as well.
Lights filled the stadium during the opening ceremony.
Athletes made their way to the the massive arena.
An athlete held up a sign as she arrived with the Argentina team.
Australian athletes took selfies as they marched during the opening ceremony.
Sailor Nicole Van Der Velden carried the flag of Aruba.
Brazilian musician Paulinho da Viola performed the national anthem.
Andy Murray carried out his flag bearing duties to perfection.
Spectators looked like they were enjoying themselves.
Tonga's Pita Nikolas Taufatofua became the shirtless flag bearer of everyone's dreams.
Samba dancers put on an electrifying show.
Jorge Alberto Oliveira Gomes lit the Olympic cauldron.
Flames burned in the Olympic cauldron as the opening ceremony finally came to a close.