Just like nouns, infinitives can be used after a verb like gustar to say what you and others like to do. Me gusta la musica. I like music.