It's this and the ability to summarize and manipulate text. While we should be careful not to ascribe any understanding to chatGPT, it proves very capable to manipulate text and extract the required information from ambiguous queries