Primecoind is a daemon, basicly that's the node binary, and it is used to connect to other nodes, get the primechain and solo mine primecoins since RPC connections are not implemented in the Primecoin wallet to connect it to pools.
The only pool for primecoins is ypool and it uses jhprimeminer.