> For the complete documentation index, see [llms.txt](https://theaihandbook.leomohan.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://theaihandbook.leomohan.net/chapter-2-what-is-ai.md).

# Chapter 2: What IS AI?

### The Real Deal

**Q1: So, what actually IS Artificial Intelligence?**

**A:** In simple terms, AI is a computer system designed to do tasks that normally require human intelligence. This includes things like learning from experience, understanding language, recognizing patterns, and making decisions. It’s about mimicking the *process* of thinking, not just following instructions.

**Q2: Is my email’s smart spam filter that catches new scams I’ve never seen before, AI?**

**A:** Yes. This is a great example. It doesn’t just block known senders. It has been trained on millions of emails to “learn” the patterns and language of spam. It can then identify a new, never-before-seen scam email because it *looks* and *reads*like spam.

**Q3: Is Netflix suggesting movies I might like, AI?**

**A:** Yes. This is a recommendation engine. It looks at what you’ve watched, what you rated highly, and compares you to millions of other users with similar tastes. It then predicts, “You’ll probably like this too.” It learns and updates its suggestions as you watch more.

**Q4: Is my phone’s face unlock feature AI?**

**A:** Yes. This uses a branch of AI called computer vision. It doesn’t just look for a generic “face.” It has learned to map the unique geometry of *your* face—the distance between your eyes, the shape of your cheekbones—and can tell it apart from everyone else’s, even if you wear glasses or a hat.

**Q5: Is Siri or Alexa understanding my question, AI?**

**A:** Absolutely. This involves several AI layers. First, it uses speech recognition to turn your voice into text. Then, it uses natural language understanding (NLU) to figure out the intent behind your words (e.g., “What’s the weather?” vs. “Will I need an umbrella today?”).

**Q6: Is Google Maps finding the fastest route for me right now, AI?**

**A:** Yes. It’s not just looking at a static map. It uses AI to analyze real-time traffic data from millions of other phones on the road, predicts where jams are forming, and dynamically recalculates the fastest path for you at that exact moment.

**Q7: Is a self-driving car AI?**

**A:** Yes, it’s a rolling bundle of AI. It uses computer vision to “see” lanes, pedestrians, and signs. It uses sensor fusion to combine data from cameras, radar, and lidar. It uses decision-making algorithms to decide when to brake, turn, or accelerate, all in real-time.

**Q8: Is ChatGPT writing a poem for me, AI?**

**A:** Yes. This is a large language model (LLM). It has been trained on a massive amount of human text from the internet. It doesn’t “know” grammar rules, but it has learned the statistical patterns of language so well that it can generate incredibly coherent and creative text based on your prompt.

**Q9: Is the “recommended for you” feed on TikTok or Instagram AI?**

**A:** Yes, and it’s very powerful. The AI constantly watches your behavior: what you watch all the way through, what you like, what you skip, what you comment on. It uses this to build a psychological profile of your interests to serve you an endless stream of content designed to keep you engaged.

**Q10: Is my banking app alerting me to fraudulent spending, AI?**

**A:** Yes. It builds a profile of your “normal” spending habits—where you shop, how much you spend, at what times. If a transaction deviates from this pattern (e.g., a sudden large purchase in a foreign country), the AI flags it as potentially fraudulent.

**Q11: Is a robot vacuum that doesn’t just bounce around, but maps my room, AI?**

**A:** Yes. The smarter ones use AI and sensors (like lasers or cameras) to simultaneously map your room and locate itself within that map (SLAM - Simultaneous Localization and Mapping). It learns the layout to clean efficiently, not randomly.

**Q12: Is DeepL or Google Translate translating a sentence, AI?**

**A:** Yes. Modern translation doesn’t translate word-for-word. Neural machine translation (an AI technique) reads the entire sentence, understands the context, and generates a new sentence in the target language that conveys the same meaning naturally.

**Q13: Is the predictive text on my smartphone keyboard, AI?**

**A:** Yes. It’s a small language model running on your phone. It has learned from your typing history and general language patterns to predict the next word you’re most likely to type, saving you keystrokes.

**Q14: Is Photoshop’s tool that lets me select a person by just hovering over them, AI?**

**A:** Yes. This is another computer vision task called “object segmentation.” The AI has been trained on millions of labeled images to recognize the precise outline of a “person,” a “car,” or a “dog,” and can separate it from the background instantly.

**Q15: Is a chess engine like Stockfish beating a grandmaster, AI?**

**A:** Yes, but it’s a specific type. Older engines used “brute force,” calculating millions of possible moves. Modern ones use neural networks to “intuitively” understand good and bad board positions, much like a human would, but far faster and more accurately.

**Q16: Is a music composition app that creates a original song in the style of Bach, AI?**

**A:** Yes. It’s a generative AI model trained on all of Bach’s music. It has learned the patterns, harmonies, and structures of his work and can generate new musical sequences that statistically sound like they were written by him.

**Q17: Is the face recognition at airport security that matches me to my passport photo, AI?**

**A:** Yes. This is a sophisticated form of computer vision. It converts your face into a unique mathematical representation (a “faceprint”) and compares it to the one on your passport’s chip with incredibly high accuracy.

**Q18: Is Grammarly suggesting a better way to write my sentence, AI?**

**A:** Yes. It goes beyond simple spell-check. It analyzes your sentence structure and word choice, and using a model of what it considers “effective” or “clear” writing, it suggests improvements for tone, clarity, and conciseness.

**Q19: Is an AI that can generate photorealistic images of people who don’t exist (like on** [**ThisPersonDoesNotExist**](https://thispersondoesnotexist.com/)[**.com**](https://thispersondoesnotexist.com/)**), AI?**

**A:** Yes. This is a Generative Adversarial Network (GAN). It’s actually two AIs working against each other—one creates fake images, the other tries to spot the fakes. Through this competition, the creator AI becomes incredibly good at generating realistic faces.

**Q20: Can AI beat me in a video game?**

**A:** Yes, easily in many cases. But not the “AI” of old games that just followed a fixed path. Modern game AI (like in AlphaStar for StarCraft or OpenAI for Dota) learns to play by playing against itself millions of times, developing strategies and tactics that no human has ever conceived.

***

💬 Enjoyed this chapter? Have questions or thoughts?\
Join the discussion on GitHub → [**Click here to Comment**](https://github.com/leomohan/theAIhandbook/discussions)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://theaihandbook.leomohan.net/chapter-2-what-is-ai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
