Drummers memorize songs by a process called muscle memory. They practice the song so many times that their body learns the motion and rhythm of the beats. They also use complex sheet music that indicates the type of drum, the time of the beat, and the tempo. Some drummers may also use mnemonic devices, like rhymes or songs, to help them remember the structure and flow of a song. Additionally, listening to the song and other drums parts in it numerous times before playing them can help in remembering the beats and rhythm.