In FastAPI, background tasks let you run code after sending the HTTP response. When a client sends a request, FastAPI runs the handler function. Inside, you add a background task using background_tasks.add_task. FastAPI then immediately returns the response to the client without waiting for the task to finish. The background task runs separately, for example writing a message to a file. This keeps the app fast and responsive. The execution table shows each step: receiving request, scheduling task, sending response, running task, and completing. Variables like background_tasks and response state change accordingly. Key points are that the response is sent before the task runs, and the task does not block the main handler. This pattern is great for tasks like logging or sending emails that don't need to delay the client. The visual quiz checks understanding of when response is sent and how background tasks behave.