A .liquid file on your laptop can't reach the browser on its own. The Shopify CLI bridges them. shopify theme dev syncs your files to a hidden dev theme and watches the folder. Save a file, the browser updates in about a second.
shopify theme dev never touches the live theme. The deploy command is shopify theme push, which comes later.
dev previews. push deploys. If you can't say which one you're about to run and why, don't run it.