As does Google, Wolfram alpha, and countless number of other similar systems, not even to mention actual computer algebra systems. ChatGPT is amusing and entertaining but it's not a real tool for anybody beyond a a newbie script kiddie.