To dream of cookies represents a situation in waking life where you can’t resist something. Difficulty rejecting or avoiding something presents itself. Cookies may reflect trouble resisting temptation or a bad habit that feels good.
Chocolate chip cookies would represent indulging or treating yourself to something that is hard to resist or reject.
Example: A man dreamed of a giant cookie. In waking life he was practicing abstinence and having trouble avoiding masturbation.