In Swift, functions are first-class, meaning you can treat them like any other value. You can define a function, assign it to a variable, pass it as an argument, or return it from another function. In the example, we define a function greet that returns a string. We assign greet to a variable sayHello. When we call sayHello(), it runs the greet function and returns "Hello!". This shows how functions can be stored and used flexibly. The execution table traces each step: defining the function, assigning it, calling it, and printing the result. The variable tracker shows how greet and sayHello both refer to the same function. This concept allows writing reusable and modular code in Swift.