Shelling (cutting)Peeling
RemovesHard outer shellThin brown skin (testa)
StageEarly — after steamingLater — after drying
MachineShelling machinePeeling machine
OutputKernel + shellClean white kernel

In short: shelling frees the kernel from the shell; peeling strips the skin off the kernel. Both are separate machines on the processing line.