The Rise of Generative AI: A New Era of Opportunities and Hidden Risks