How does cooking work in D&D?

So, I haven’t played in FOREVER, but a few friends and I have been talking about playing 5e again. I’ve been the DM, and they’ve been requesting a cook off since the beginning. How does cooking work in D&D? I have no idea what to do about it