What does an author do?

When you write a story, you are the author. You can choose everything that happens in the story. That's called authorial intent.

Comprehension, there's more to learn...

This guide
A young girl at her computer in the library.

What does an author do?