As far as I know, a pimple/boil is infection in a blocked pore, a cyst is a little bag of cells that produce other cells (which make up the gunge). Because cysts can be infected or not infected, but a boil is always infected.
As you can tell, my expertise is limited to watching youtube from a safe distance 