Learning music by ear is learning to play a piece of music by listening to other people playing it and then trying to play it oneself. In some musical traditions there is no written music and everybody plays by ear all the time. Folk music is traditionally learned by listening to other musicians and copying them. This is how music is passed from one generation to another.