An author is a person who is credited on the cover of the book. They may have written their own book or hired someone else. A professional ghostwriter does the actual writing, typically without credit.