By using async, your script can run immediately after being loaded without blocking other elements on the page. While in defer, your script will only run after the page has finished loading. Async is usually preferred, but there are exceptions.