Expleo Group interview question

What is the difference between task and function