This article explains how to convert a Pages document to PDF. Pages is a Mac word processor that allows you to export documents in PDF format.
Steps

Step 1. Open Pages
The program icon looks like a sheet of paper and an orange pen.
Download Pages from the App Store if you don't already have it

Step 2. Select a Pages document
Upon launching Pages, a file browser will open. Click on a document to select it.
By default, the file browser will open iCloud Drive. Use the drop-down menu at the top of the window to browse your Mac's folders

Step 3. Click Open
It is located at the bottom right of the file browser.

Step 4. Click on File
It is located at the top left of the menu bar at the top of the screen.

Step 5. Select Export as
Place the mouse cursor on "Export As" in the "File" menu. A pop-up menu will appear.

Step 6. Click on PDF
It is located within the "Export As" section in the "File" menu.

Step 7. Select the image quality
Use the drop-down menu to select "Good", "Very Good" or "Best".
If you want to password protect the PDF file, click on the checkbox next to "Require a password to open". Then, type in a password and verify it in the second bar

Step 8. Click Next
It is located at the bottom right of the pop-up menu.

Step 9. Type the title of the file
Type the file name in the bar labeled "Save As" at the top of the pop-up window.
Use the drop-down menu at the bottom of the pop-up window to select the folder in which to save the PDF

Step 10. Click Export at the bottom right of the pop-up window
The Pages document will then be converted to PDF format.