Common purposes authors have for their texts include to inform, to entertain, and to

Apersuade.
Bconverse.
Cobfuscate.
Ddescribe.