Tree Shaking

What is Tree Shaking? And why is it important to your web's performance?
Explain the concept of 'Tree Shaking' in a simple web development. Which is the process of eliminating the unused JavaScript code To make the file smaller and the website loads faster