Code formatting is the way to format the source code of programs, such as using spaces and tabs, improving legibility.