The .h files are used to expose the API of a program to either other part of that program or other program is you are creating a library. For example, the program PizzaDelivery could have 1 .c file with the main program, and 1 .c file with utility functions.
https://stackoverflow.com/questions/1695224/what-do-c-and-h-file-extensions-mean-to-c



