Artificial intelligence is the science of training computers to perform tasks that typically require human intelligence to complete. At its core is the ability for the machine to learn how to apply logic and reason to gain an understanding from very complex data. Machine learning and NLP provide the foundational building blocks for artificial intelligence. Deep learning and NLP extend its capabilities.