How does the return command work?

Thanks in advance for any help you guys can give me! =D