return is a language construct used to exit a function and give a value to the caller of the function.
echo and print are both language constructs that output strings. The main difference is that echo can take multiple arguments separated by commas, but print accepts only a single argument.