When you set up Windows 10 on a device you will be asked to set up an account; you will have several choices:

Set up a local log on account (use this if you prefer to have your logon credentials entirely separate from your online accounts)
Use your Microsoft Account to logon (use this if you want to be able to automatically sync files and browser history […]