While using Ajax necessitates the use of jQuery, providing the entire jQuery library for Ajax is excessive. This function replaces Ajax (with jQuery) and allows you to do HTTP GET, PUT, POST, and DELETE requests. XMLHttpRequest is used for everything (XHR).