A PID is a Unix Process ID, a unique integer allocated by the kernel to each process.
Not to be confused with the Mac PSN (Process Serial Number) which fulfilled a similar role on Classic MacOS and is carried through to MacOSX (where it’s still occasionally needed)