Improvisation in music is described as the art of?

writing music to be played by others

playing music written by someone else

creating new music spontaneously

listening to music performed by professional musicians