ChatGPT is good at providing succinct, articulate responses to clearly framed questions on matters about which there is a reasonable amount of published material. Thats why it can answer the kinds of question you might find on an exam paper.