An Immediately Invoked Function Expression (IIFE) is a JavaScript function that runs as soon as it is defined. It is a design pattern used to create a private scope, ensuring that variables declared inside the function do not "leak" out into the global scope and conflict with other scripts.