Shit gets intense, man.
Those weird orb things that you can see in the first two pictures heal the Enderdragon as it flies around, so you’ll have to destroy those first. They explode on impact, so use a bow and arrow to destroy them.
The next three pictures are what happens once you defeat the Enderdragon.
The next picture is a portal that appears. Once you enter through it, you’ll receive an endgame story, two parts of it are shown in the last two screenshots.
Then you return back to the regular world.