New Work SE interview question

When do you need to run a task in background thread?