It started when paper and pin were made and when computers and copiers were made and they just wrote stories and put people so more than one person could do it.
If it's a fictional piece of work, the writer can make the characters think or act like the targetted audience. (Ex. If teenage boys are the audience, mention sports or video games) Nonfiction is a...