Paul McCartney composed the song Yesterday in which its entire melody for the song came from a dream.