A function is a factor that goes into a system and comes out differently based on a pattern. Functions are used in the real world through technology. Encrypting is done through computers for security reasons, it could also be used for military reasons. It is important to know how a function works because you may need to know how to decode something, and it is only going to become more complex.