Difference Between A Protocol And A Diet?

I’m having trouble understanding the difference between a protocol and a diet. If I put certain things on my protocol, doesn’t that mean I am restricting everything else? Should I just put all the foods I want to eat on my protocol? If I’m not trying to lose weight or have food sensitivities/allergies, why else would someone want to have a protocol?