Web APIs (navigator, geolocation, history)

What is the purpose of the pushState() method in this code?
// User clicks on a tab
document.getElementById('aboutTab').addEventListener('click', function() {
  displayAboutContent();
  history.pushState({page: 'about'}, 'About Us', '/about');
});

// Handle back/forward navigation
window.addEventListener('popstate', function(event) {
  if (event.state && event.state.page) {
    switch(event.state.page) {
      case 'about':
        displayAboutContent();
        break;
      case 'products':
        displayProductsContent();
        break;
      default:
        displayHomeContent();
    }
  } else {
    displayHomeContent();
  }
});
Next Question (12/40)