returnblocks to your function. This allows you to return a different output based on some conditions.
returnblock is fired. For example, in the above example, if the quality rating is 100, the function will return Perfect and then stop. It will not run the other tests, and won't return Excellent. Good, Fine, etc.