Lifecycle Methods: get called at certain moments in a component's life.
Unmounting: when the component is removed from the DOM. This could happen if DOM is rendered without the component, or if the user navigates to a different website/closes browser.