AI and ML algorithms are tools to solve problems, to analyse and take action in the world, and to improve our understanding of intelligence in general. Undering specific tasks that be solved with AI/ML methods is a good way of understanding the variety of solutions.