The `defer` statement is used to ensure that a function call is performed later in a program’s execution, typically for cleanup actions.