The Cooking Party is a time-limited event consisting of 3 steps. Each step has its own chef's hat goal and rewards. You collect chef's hats within levels.
When you reach the goal of a step, you get to open a reward, and then move on to the next goal.