Writers write stories, or they write about things that really happened. They write books, and they write articles for magazines or journals. They write for newspapers, and they write for radio and television.
Editors tell writers what to write about.
They also decide if what a writer has written is good or not so good. If it is not so good, they change the words to make it good. When a writer begins to write, he or she gathers information. The writer may get this information just by looking or by doing research at the library. Or the writer may interview someone.