Artificial intelligence is the branch of computer science interested with making computers behave such as humans, i.e., with automation of intelligent behavior. Artificial intelligence includes game playing, expert systems, natural language, and robotics.
The area may be subdivided into two main branches.
The first branch, cognitive science, has a strong affiliation with psychology. The goal is here to construct programs for testing theories that describe and explain human intelligence.
The second branch, machine intelligence, is more computer science oriented and studies how to make computers behave intelligently. It doesn't matter whether or not the mental processes of humans are simulated as long as the constructed systems behave intelligently.