# What is artificial intelligence (AI)?

> Artificial intelligence is software that performs tasks that normally need human judgment, like understanding language or spotting patterns. Here is how it works.

URL: https://www.jalkarna.in/based/learn/what-is-artificial-intelligence/  
Last updated: 2026-11-16

Artificial intelligence (AI) is software that performs tasks which normally require human judgment, such as understanding language, recognizing images, making predictions, or deciding what to do next. Most modern AI does this by learning patterns from large amounts of data rather than by following hand-written rules for every case.

AI is an umbrella term. The chatbot you talk to, the spam filter in your email, and the system that suggests a video to watch are all "AI", even though they work quite differently inside.

## How does AI work?

Traditional software follows instructions a programmer wrote: if this, then that. That approach breaks down for messy problems like "is this a photo of a cat?" because nobody can write rules covering every cat in every light.

Modern AI takes a different route. Developers show a program many examples, and the program adjusts millions of internal numbers until its outputs match the examples well. Once trained, it can handle new inputs it has never seen. This approach is called [machine learning](https://www.jalkarna.in/based/learn/what-is-machine-learning/), and it powers nearly all of the AI you encounter today.

## What are the main types of AI?

People use several overlapping labels, and it helps to separate them:

- **Narrow AI** does one job or a small set of jobs well, like translating text or recommending songs. Every AI product that exists today falls here.
- **General AI** (often called AGI) would match human ability across almost any task. It is a research goal, not something you can use today.
- **Generative AI** creates new text, images, audio, or code. See [what is generative AI](https://www.jalkarna.in/based/learn/what-is-generative-ai/).
- **Predictive or analytical AI** classifies things or forecasts outcomes, such as flagging a transaction as likely fraud.

## What is AI used for?

Everyday examples include:

1. Search engines ranking results.
2. Phones transcribing your speech to text.
3. Email filters catching spam.
4. Maps estimating arrival times.
5. [AI chatbots](https://www.jalkarna.in/based/learn/what-is-an-ai-chatbot/) answering questions in plain language.

## AI vs machine learning vs LLMs

These terms nest inside each other, which is why they get confused.

| Term | What it means |
|---|---|
| Artificial intelligence | The broad goal of software doing tasks that need intelligence |
| Machine learning | A way to build AI by learning from data |
| Large language model | A machine learning model trained on huge amounts of text to work with language |

A [large language model](https://www.jalkarna.in/based/learn/what-is-a-large-language-model/) is therefore one kind of machine learning, which is one approach to AI.

## What can AI not do?

AI systems do not understand the world the way people do. They find statistical patterns, so they can be confidently wrong, reflect biases in their training data, and fail on situations unlike anything they were trained on. Language models in particular can state false things fluently, a problem covered in [what are AI hallucinations](https://www.jalkarna.in/based/learn/what-are-ai-hallucinations/). Treat AI output as a draft or a suggestion, and check anything that matters.

## Common misconceptions

- **"AI thinks like a human."** It does not. It produces outputs from learned patterns, with no experience or intent behind them.
- **"AI knows everything."** It only knows what its training data and the current conversation contain.
- **"AI is a single thing."** It is a collection of techniques, each suited to different problems.

For a longer reference, see the [Wikipedia article on artificial intelligence](https://en.wikipedia.org/wiki/Artificial_intelligence).

## Using AI on Discord with Based

Based is a public AI Discord bot that brings chat, summaries, image generation, and voice conversation into a server. You can see what it offers on the [features page](https://www.jalkarna.in/based/features/) and try it by [inviting it to your server](https://www.jalkarna.in/based/invite/).

## FAQ

### What is artificial intelligence in simple words?

It is software that does tasks normally needing human judgment, like understanding speech, recognizing pictures, or answering questions. Most of it works by learning patterns from lots of examples.

### Is AI the same as machine learning?

No. AI is the broad goal, and machine learning is the most common method used to reach it. Machine learning is a subset of AI.

### Does AI actually think?

Not in the human sense. AI systems calculate outputs from patterns learned during training and have no awareness or intent.

### What is the difference between narrow AI and AGI?

Narrow AI handles specific tasks and is all that exists today. AGI would match human ability across nearly any task and remains a research goal.

## Related
- [What is machine learning?](https://www.jalkarna.in/based/learn/what-is-machine-learning/)
- [What is a large language model (LLM)?](https://www.jalkarna.in/based/learn/what-is-a-large-language-model/)
- [What is generative AI?](https://www.jalkarna.in/based/learn/what-is-generative-ai/)
- [What is an AI chatbot?](https://www.jalkarna.in/based/learn/what-is-an-ai-chatbot/)
- [What are AI hallucinations?](https://www.jalkarna.in/based/learn/what-are-ai-hallucinations/)
