The output of ChatGPT almost always sounds good. That's the point.
But I would wager that its answer was at least wrong, and perhaps total nonsense.
That's the real hazard of using ChatGPT as a learning tool. You are in no position to evaluate whether the output makes any sense.