Full rebuild vs cook everything in project?

In Project settings>Project>Packaging there are check boxes for Full Rebuild and Cook Everything in Project Content Directory. What are the differences?

My guess is full rebuild only cooks what is packaged while the other cooks what is in the project.

rebuild it’s about code compiling, but cook - about content.
more info here.