The echo command outputs data to the Standar Output, this is in web browser applications, the client who requested the data. In CLI this print the data on the console.
And return command exit the function with a value, but doesn't print anything.
If you want to comunicate between PHP functions, you have to use return. But if you want to output some data, you have to use echo.