We use the #include directive in a C program to include the standard input-output library, which provides functions for input and output operations.