Artificial intelligence (AI) is a wide-ranging branch of computer science concerned with building smart machines capable of performing tasks that typically require human intelligence. The subset of artificial intelligence is machine learning i.e, ML is derived from AI.
Machine learning allows the computer programs and software applications to become more accurate and improve automatically by experiencing, without involvement and programmed by human. Deep learning is derived from machine learning.
Deep learning enables automatic learning by analyzing and observing data like images, texts, etc.