Melody is the musical sound that gives a pleasing effect to the ear.