The Pros and Cons of Artificial Intelligence: Balancing Advancements and Risks