The "Home" key moves the cursor to the beginning of the line the cursor is on. Holding down the CTRL key while using the "Home" key moves the cursor to the beginning of the document.
The "End" key moves the cursor to the end of the line the cursor is on. Holding down the CTRL key while using the "End" key moves the cursor to the end of the document.