Hi Ahamed,
"Defer & Async" Attributes are very helpful to increase the website page speed not only for WordPress but also for all sites. In your case, WordPress has some plugins. If you want to add this code without plugin you need to add your code to your “functions.php” or equivalent file such as custom.php. If you want more about this & the codes you can find HERE .