list of os x processes by name and function?
There is no canonical list of all macOS processes by name.

Third party developers are free to name their processes without restriction and Apple's background processes are often undocumented.

Manual Pages

For many core macOS processes there are manual pages. You can read these technical manual pages using the included Terminal application and the command line tool man.