Most programming language has functions. Most languages allowyou to create functions of some sort. Functions let you chop up a long program into named sections so that the sections can be reused throughout the program. Functions accept parameters and return a result. If you look for functions in Ruby, you don't find them. It is because they called methods.