i get really confused on returning things. Could someone help me out?

For instance, at the bottom of a function, someone will say:

return var