Can ChatGPT Generate Human-Quality Text? Exploring Its Capabilities and Challenges