You use "defer" for scripts that need to be executed after the HTML document is parsed, and "preload" when you want to load resources much earlier.