What does pudding do in baking?

CHOCOLATE CHIP PUDDING COOKIES

Enjoy soft, chewy chocolate chip cookies made with pudding for that extra softness! They’re perfect for dunking in a cold ...