It entertains, educates, informs or inspires readers.
A news story is informative because it tell the reader something important about a current event.
A tutorial is educational because it explains to readers how to accomplish a task.
A short story is entertaining because it gives the reader a place to which they can escape from their troubles.
A self-help book is inspirational because it shows readers how they can change their lives for the better.
If you want to learn how to write, decide if you want to entertain, inform, educate or inspire your reader. You don’t have to achieve all four, but your writing should tick at least one of these boxes.
If you don’t, your reader will lose interest and put your writing down. And for writers, that’s never a good thing.
The good news is it’s not as difficult as it sounds to give your readers what they want.