The Sustainability Impacts of ChatGPT: A Comprehensive Analysis