How To Use AJAX Into WordPress?

can anyone please summarize the code that how to implement the Ajax concept for other frameworks like Drupal?