what is the difference between the inline function and function?

In case of ordinary function, when calling the function the scope jumps to the function and after return jumps back to the function call statement resulting in some extra execution time.

While in case of inline function the scope doesn’t really jumps to the function saving some execution time. However, while making any function inline we are just sending request to make the function inline, it completely depends on the compiler that it will treat the function as inline or some ordinary function