Artificial intelligence (AI) is the capability of machines to execute tasks that are generally associated with human intellectual processes. It involves the creation of systems that can perform functions such as learning, problem-solving, perception, language-understanding, and logical reasoning.