An enqueue script is a command that adds JavaScript files and CSS style sheets to WordPress functions, allowing you to use them whenever you need to without having to rewrite code.
Instead of adding the custom scripts or style sheets directly to your WordPress header file, you insert a snippet of code that informs WordPress which assets to add. WordPress then automatically links those assets in the header and footer.