A chatbot is a software program that holds a conversation with a person through text or voice. You type a question or speak it aloud, and it replies in plain language, usually within a second or two. You have almost certainly used one: the chat window on a shopping site, the assistant inside a banking app, or the voice helper on your phone.
What makes a chatbot different from a search box is the back-and-forth. It remembers what you just said, asks a follow-up question when your request is unclear, and can carry out a task such as tracking a parcel or booking an appointment. The conversation is the interface.
Chatbots range from simple programs that match your words against a fixed list of answers to advanced systems that generate new replies from what they have learned. This guide explains what a chatbot is, how one works, the main types, where they help, and where they fail.
Key takeaways
- A chatbot is software that converses with people in plain language to answer questions or complete tasks.
- Simple chatbots follow fixed rules and scripts; advanced ones use language models to generate replies.
- Chatbots work best for repeated, clear, low-risk questions such as order tracking and appointment booking.
- They struggle with vague requests, emotional situations, and questions that need judgement or live facts.
- A good chatbot hands over to a human quickly when it cannot help, instead of looping or guessing.
Chatbots at a glance
| Type | How it answers | Best for | Main limit |
|---|---|---|---|
| Rule-based | Matches words to fixed scripts | FAQs and guided menus | Breaks on unexpected wording |
| AI-powered | Generates replies from a language model | Open-ended questions | Can invent facts confidently |
| Transactional | Runs tasks through connected systems | Bookings, orders, payments | Needs reliable live data |
| Voice assistant | Speech in, speech out | Hands-free help at home or in a car | Struggles with accents and noise |
| Social and messaging | Replies inside apps such as WhatsApp | Support where customers already are | Limited by the messaging platform |
What a chatbot actually is
A chatbot is a program built to exchange messages with a person. It sits behind a chat window, a messaging app, a voice speaker, or a website widget, and it turns your words into an action: an answer, a lookup, a booking, or a handoff to a human. It covers a wide range, from a small button-driven helper on a shop website to a general-purpose assistant that can draft an email or explain a concept.
Underneath, a chatbot is a narrow slice of artificial intelligence. It does not understand language the way a person does. It converts words into numbers, looks for patterns it has seen before, and picks or builds the reply that fits best. That explains both the speed and the mistakes: a chatbot can answer thousands of people at once, but it has no common sense to fall back on when a question is unusual.
How a chatbot works
A chatbot conversation follows five steps. First, it reads your message and works out what you want, a step called intent recognition: “Where is my order?” is a tracking intent, “I want to cancel” is a cancellation intent. Second, it pulls out the details that matter, such as an order number or a date. Third, it decides what to do: answer from a script, look up live data, or generate a reply. Fourth, it sends the reply, remembering the context so your next message makes sense without repeating yourself.

Rule-based chatbots use pattern matching: if your message contains “opening hours”, they return the stored hours. That is fast and predictable, but it fails when you phrase things differently or ask two things at once. AI-powered chatbots use a language model instead, which weighs the whole sentence and generates a reply word by word. That handles varied wording better, but the reply is assembled on the spot rather than picked from an approved list.
The newest systems add tools: a chatbot that can check a live order system or call a booking service is far more useful than one that can only talk. When it needs a fact it does not know, a well-built chatbot looks it up rather than guessing, and when it cannot help, it should say so and offer a human.
The main types of chatbots
Rule-based chatbots are the oldest and simplest kind. They follow a decision tree: pick an option, get the next question, pick again. They are cheap, reliable, and easy to test, which is why small businesses still use them for FAQs. Their weakness is rigidity: anything outside the script produces a generic “I did not understand” message.
AI-powered chatbots use language models to handle free-form conversation. They cope with typos, slang, and long, messy questions, and they can summarise, translate, and draft. They cost more to run and need guardrails: limits on what they may claim, which systems they may touch, and when they must hand over to a person.
Transactional chatbots are defined by what they do rather than how they talk: rebooking a flight, changing a delivery address, or paying a bill. Their value is measured in completed tasks, not in how natural the chat feels. Voice assistants are chatbots you speak to, and they add the extra challenge of turning speech into text accurately first.
What chatbots are good at
Chatbots are strongest where the work is repetitive and the answers are known. A shop that gets five hundred “where is my order” messages a week can answer all of them instantly, at any hour, without hiring night staff. Customers benefit too: no hold music, and an answer in seconds for a simple question.
They also bring consistency: the same returns policy for every customer, every time, and it never forgets to ask for the order number. That means fewer errors and a written record of every conversation, which makes it easier to spot the questions that confuse people.
Used well, a chatbot is a triage tool. It resolves the easy half of incoming questions and routes the hard half to humans with the context already collected, so the human starts from the facts instead of from scratch.
Where chatbots go wrong
The most common failure is confident invention. An AI-powered chatbot can state a wrong price, a wrong date, or a policy that does not exist, in a calm and certain tone. This is often called hallucination: the system predicts likely words instead of checking facts. The fix is grounding it in approved documents or live systems.
The second failure is the loop: a chatbot that does not understand you, offers the same three buttons again, and never lets you reach a human. A third is overreach, letting a chatbot handle refunds or medical advice without clear limits or a human check. Knowing how to judge a chatbot’s output quality before you trust it with real customers is practical: test it with real questions, count the wrong answers, and check the handoff.
Privacy is the quieter risk. A chatbot conversation can contain addresses, account numbers, and health details. A responsible deployment keeps that data inside the systems that need it, deletes it on a clear schedule, and never trains a shared model on private conversations without consent.
Where you meet chatbots every day
Customer support is the most visible use. Retailers, airlines, telecoms, and delivery firms use chatbots for tracking, returns, plan changes, and outage updates. Banks use them for balance checks, card blocks, and fraud alerts, and how AI is changing banking shows why this is spreading: once an assistant can read account data safely, it can answer questions that used to need a phone call.
Shops use chatbots as shopping guides, recommending sizes and checking stock. Workplaces use them for internal questions that pile up: holiday days left, expenses, or the parental leave policy. Schools and clinics use them for appointment booking, and governments use them to guide people through forms.
Chatbot vs live chat vs virtual assistant
Live chat is a conversation with a human agent through a chat window. It is slower than a chatbot, because one person can only handle a few chats at once, but it handles judgement, empathy, and unusual cases far better. Many companies run both: the chatbot answers instantly, and the human takes over when the question is complicated.
A virtual assistant is broader than a chatbot. It manages calendars, sets reminders, sends messages, and controls devices, often by voice, and it remembers your preferences across days and weeks. A chatbot is usually tied to one business or one task, while an assistant is tied to you. The comparison that matters is which resolves real requests without a human rescue.
Checklist: choosing or judging a chatbot
- Test it with ten real customer questions, including badly worded ones, and count how many it resolves unaided.
- Check the handoff: can you reach a human in one step, and does the human see the chat so far?
- Ask where its answers come from: approved documents and live systems, or the model guessing?
- Read the privacy terms: what is stored, for how long, and is your chat used to train other systems?
- Check the limits: what will it refuse to do, and does it say so clearly instead of inventing an answer?
- Measure after launch: resolution rate, wrong-answer rate, and how many people abandon the chat.
Frequently asked questions
What is a chatbot in simple terms?
A chatbot is a program you talk to in order to get something done. You send a message, it replies, and it can answer a question or complete a task such as tracking an order. It works through text or voice, on a website, in a messaging app, or on a smart speaker.
Are chatbots the same as AI?
No. A chatbot is one use of AI, not the whole field. Some chatbots follow fixed scripts with no AI at all. Others use language models to understand varied wording and generate replies.
Do chatbots replace human support staff?
They replace part of the workload, not the staff. Chatbots handle repeated, simple questions around the clock, freeing humans for cases that need judgement. Companies that remove humans entirely usually see complaints rise, because no one is left to catch the bot’s mistakes.
Why do chatbots sometimes give wrong answers?
Rule-based chatbots fail when your wording does not match their script. AI chatbots fail when they generate a plausible reply instead of checking a real source. Both are reduced by grounding the bot in approved documents and live data.
Are chatbots safe to share personal details with?
It depends on who runs the bot. A bank’s chatbot inside its own app is generally safer than a random website widget, because the bank already holds your data under strict rules. Never share passwords, full card numbers, or sensitive health details with a chatbot unless you are sure of the service.
How much does a chatbot cost a business?
A simple rule-based chatbot can cost very little to build and run. An AI-powered chatbot costs more, because every message uses computing power and the price rises with volume. The total also includes writing good answers, connecting live systems, testing, and maintenance.
The bottom line
A chatbot is a conversation layer over a real service: useful when the question is clear, the answer is known, and the task is routine. It saves time in exactly those cases, and it fails when it is asked to judge, empathise, or invent facts it has not been given.
The test for any chatbot is simple. Give it your ten hardest real questions, watch what it does when it does not know, and see how fast a human takes over. A chatbot that passes earns its place; one that loops, guesses, or hides the human does not.


