By ingesting massive amounts of data, including social media posts, news articles and Wikipedia entries, ChatGPT learned the structure and patterns of human language and, as a result, can provide an original, conversational, humanlike response.