function defines a function in a flow or library
function
Function defines a Function that implements some processing in the flow hierarchy