"The climax of the album is the sixteen-minute medley consisting of several short songs, both finished and unfinished, blended into a suite by McCartney and Martin.
Most of these songs were written (and originally recorded in demo form) during sessions for The Beatles and the "Get Back"/Let It Be sessions.
""You Never Give Me Your Money" is the first song of the Abbey Road medley.
It was written by McCartney and based loosely on The Beatles' financial problems with Apple. (Paul had refused signing Allen Klein as their new manager.)
It slowly and quietly follows into "Sun King" (which, like "Because", showcases Lennon's, McCartney's, and Harrison's overdubbed harmonies), "Mean Mr. Mustard" (written during The Beatles' trip to India), and "Polythene Pam" (contributed by Lennon).
These in turn are followed by four McCartney songs, "She Came in Through the Bathroom Window" (written after a fan came into McCartney's residence literally through the bathroom window), "Golden Slumbers" (based on lyrics but not the music of Thomas Dekker's 17th-century song of the same name), "Carry That Weight" (featuring chorus vocals from all four Beatles), and the climax, "The End".
"The End" is notable for featuring Starr's only drum solo in The Beatles catalogue. (The drums are recorded in "true stereo" with at least two separate microphones—the only instance of this on a Beatles record; normally, even though mixes were in stereo, drums were mixed in mono and usually panned far left or far right in the stereo "image".)
54 seconds into the song, immediately prior to "And in the end, the love you take is equal to the love you make" line played over piano chords, are eighteen bars (or measures) of guitar solo:
the first two bars are played by McCartney, the second two by Harrison, and the third two by Lennon, then the sequence repeats.
Each has a distinctive style which McCartney felt reflected their personalities:
McCartney's playing included string bends similar to his lead guitar work on "Another Girl" from the Help! album;
Harrison's was melodic with slides yet technically advanced and Lennon's was rhythmic, stinging and had the heaviest distortion.
Immediately after Lennon's third solo, the piano chords of the final line "And in the end...." begins.
An alternative version with Harrison's lead guitar solo played against McCartney's (with Starr's drum solo heard slightly in the background) appears on the Anthology 3 album.
The song ends with the memorable final line, "And in the end, the love you take is equal to the love you make"."