The default action and often only option of scanning a document is to save it as a picture. To scan the text of a document directly into text that a word processor can edit, you'd need to use OCR (Optical Character Recognition) software.
Click Scan. It's in the bottom-right corner of the window. Your document will begin scanning into your computer. When it finishes, you'll be able to find it in your selected save location.
Learn the basics of using the Windows 10 Scan app, including finding the app in the Start menu and choosing scanning options.