I know this is a vauge question, but since iam new to the programming world just wanted to clarrify this silly doubts.

Why do we need return in the function when we can use echo and get the output ?

Can someone explain the basic of funtions ?

Thanks in advance.