Artificial intelligence is the science of making machines that can think and perform tasks like humans; basically, any task considered intelligent and smart, like doing calculations, analysing large and complex data, decision-making, image recognition, etc.
Artificial intelligence can be categorized into two main types:
Narrow AI: Narrow AI is designed to perform specific tasks, such as voice recognition, image analysis, or recommendation systems. One of the best examples that you can relate to narrow AI is Alexa and Siri. From answering your every question to predicting the weather forecast and doing small chores for you like playing videos, turning on music, reading books, etc., just on one voice command.
General AI: This is a more advanced form of AI that can understand, learn, and perform any intellectual task a human is capable of doing. Although it is still a theoretical concept that has not yet been fully conceptualised, general AI is slowly evolving and creating its place in our everyday lives.