The primary purpose of an author in a piece of writing refers to the main intention or goal that the author has in mind when creating their work. It is the overarching reason why the author chose to write and what they hope to achieve through their writing.