Artificial Intelligence (Foundations, Ethics, and Real-World Applications)