Ajax solves one of the problems with web pages - the full screen refresh when a user submits a form or clicks a link to go to another page. Depending on the design, this may result in increased performance, as smaller amounts of data can be transferred rather than whole pages of HTML, and the backend code and database calls executed are restricted to those needed to generate that data rather than generating the HTML for the whole page.