A function-- and I'm going to speak about it in very abstract terms right now-- is something that will take an input, and it'll munch on that input, it'll look at that input, it will do something to that input. 