The conjunction "and" connects two similar actions, indicating that she enjoys both playing the piano and composing music.