Functions are the code in your program that get things done. They can be used to get data from a sensor, set pin voltages, print text to LCD displays, and so much more.