Anonymous functions use a block of code as a value, defining it as an inline function without a name.