No one knows who exactly invented cookies, but we do know where they're from. The first cookies are believed to have been the small test cakes that bakers used to test their oven temperatures. They can be traced back to 7th century A.D. Persia, one of the first countries to grow and harvest sugar cane.