A function is just a special procedure that will return some value. (Others will say that a procedure is a function that does not return any value but he is just the chicken/egg discussion.) Procedures and functions are techniques that help you to combine multiple statements into a single statement.