Melody and harmony are two parts of a musical composition. The melody is the main musical theme of the song and is the part most people remember when they think of a piece of music. The harmony accompanies the melody. In piano, the melody is usually played with the right hand, and the harmony is typically played with the left hand.