Understanding CORS

If you ever worked with an AJAX call, you are probably familiar with the following error displayed in browser console: