The Ruler is generally located below the Ribbon around the top edge of the document and is used to change the format of the document, i.e. it helps you align the text, tables, graphics and other such elements inside your document. It uses inches or centimeters as the measurement unit depending on your choice and gives you an idea about the size of the document.
See the image: