Function calling

Hello,

I am into the first lesson of this course and could not follow what is purpose of introducing function call in openAI. They dont really execute functions when called, but why do we need them ?