If art is the movement from the mind to something sensed and significant, is literature art? Yes, but not always. The same is true for music, dance, painting, film, photography, and ceramics. At times these things are made exclusively to persuade, inform, emote, to be practically useful, decorative, or to entertain.
I spontaneously hum a short tune. I create music, but not art. It is possible for this to become art through its development, repetition, and placement.
I can make art, but art is not everything I make.