Understanding ChatGPT: An Insight into AI