What is the exact difference between static tasks/functions and automatic tasks/functions ? please explain with a clear example

In reply to dave_59:

But for static lifetime, we need to use task static add(int a,int b)
By default it will have automatic lifetime