What is AJAX in WordPress, and how is it used?

AJAX allows asynchronous requests without reloading the page. In WordPress, AJAX actions are registered in functions.php, where wp_ajax_ is used for authenticated requests, and wp_ajax_nopriv_ handles non-authenticated requests.