Harnessing the Power of Artificial Intelligence: Applications, Ethics, and Future Trends