Visit the Minecraft Wiki for basic information about Book and Quill.
Book and Quill is an item added by Vanilla Minecraft. Right clicking with it in your hotbar allows you to type out a message. Closing the book without signing allows you to edit your message later. Signing the book will make your text permanent.