Complex sentence: Values are passed to the function, and values may be returned, or the function may just perform the operation and not return a resulting value.
Split into simpler sentences: Values are passed to the function, and values may be returned. Or, the function may just perform the operation and not return a resulting value.