Debouncing is a technique used to ensure that a function doesn't get called too frequently.
It's commonly employed in scenarios where we want to wait for a pause in user input before triggering an action.
For example, in search bars, debounce delays the execution of the search function until the user has finished typing, preventing unnecessary API requests with each keystroke.