How Does ChatGPT Actually Work?