User: What is the history of the chocolate chip cookie?
Assistant: The chocolate chip cookie was invented in 1938 by American chef Ruth Wakefield. Wakefield owned the Toll House Inn in Whitman, Massachusetts, and was trying to make a new type of cookie. She chopped up a semi-sweet chocolate bar from Nestlé and added it to her cookie dough recipe, expecting the chocolate to melt and create a rich flavor. Instead, the chocolate held its shape and created the iconic chocolate chip cookie. Since then, the chocolate chip cookie has become one of the most popular treats in the world.