An IIFE (Immediately Invoked Function Expression) is a JavaScript function that runs as soon as it is defined.