Intersection Observer & Efficient Scroll Handling

What is the purpose of the disconnect() method in Intersection Observer?
let observer = new IntersectionObserver(callback);

// Later in the code
function cleanup() {
  observer.disconnect();
  observer = null;
}
Next Question (14/20)