In Mass Effect 3, the finale brings you face to face with the Catalyst, which offers three distinct choices. In each of them, Shepard ultimately sacrifices themselves—a fitting close to the trilogy. Here's how they play out.
Destroy: You fire your pistol into the power conduit until it explodes. The Citadel releases a red shockwave that wipes out the Reapers and the mass relays, and the Citadel itself is destroyed.
Control: You place your hands on two energy coils that vaporize you, and the Citadel sends out a blue shockwave. The Reapers on Earth turn blue and depart, the relays are destroyed, but the Citadel seals itself.
Synthesis: You step into a beam and are absorbed into the Citadel, which emits a green shockwave. The Reapers leave, the relays explode, and the Citadel is destroyed. Here, the closing shot shows green leaves tinged with a synthetic blue sheen.
In every path, the Normandy crash-lands on a planet and your surviving squadmates emerge before the screen fades to black. Keep in mind that later patches and DLC added further variations to the ending.