Function that takes 2 inputs, produces output.