Understanding the different types of AI and their applications