ChatGPT was also trained using a technique called Reinforcement Learning with Human Feedback so that the AI learned what humans expected when they asked a question.
ChatGPT does not always provide accurate answers. We've to remember that it's an AI Tool. It's always best to verify information obtained through ChatGPT with a reliable source.
It is currently free for users to try out and provide feedback on the responses so that the AI can become better at answering questions and to learn from its mistakes.