Artificial intelligence (often shortened to AI) is a subdiscipline of cognitive science. It refers to the technologies and methodologies that aim at building computer programs mimicking human intelligence and cognitive functions, including both human reasoning and perceptions.