What is the purpose of creating a table in a document?