Functions allow programmers to organize C++ code into reusable blocks to perform tasks, where a function is defined with a name and parameters and can be called from other parts of the program. Functions may take parameters, return values, and be called recursively or by reference to modify external variables. The C++ standard library provides header files and built-in functions to help programmers write functions and programs.