> For the complete documentation index, see [llms.txt](https://riteshs4hu.gitbook.io/infosec-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://riteshs4hu.gitbook.io/infosec-notes/artificial-intelligence.md).

# Artificial Intelligence

### Artificial Intelligence (AI)

Artificial Intelligence (AI) is a branch of computer science concerned with the design and development of intelligent systems capable of performing tasks that typically require human intelligence. These tasks include learning from experience, reasoning, problem-solving, understanding language, perceiving the environment, and making decisions.

AI systems operate by processing data, identifying patterns, and applying algorithms to produce meaningful outputs. Unlike traditional programs that follow fixed instructions, AI-based systems can adapt their behaviour based on new information and past experiences.

#### Example: Email Spam Detection

A common example of AI is an email service that automatically filters spam messages.

The system is trained using a large dataset of emails labelled as "spam" or "not spam". During training, it learns to recognise patterns such as:

* Suspicious words (e.g., "lottery," "free money")
* Unknown or unusual sender addresses
* Repeated promotional phrases

When a new email is received, the system analyses its content and compares it with the patterns it has learned. Based on this analysis, it predicts whether the email is spam or legitimate. As more emails are processed, the system continues to refine its accuracy.

In this example, the system learns from data, identifies patterns, and makes decisions without being explicitly programmed with fixed rules for every possible scenario. This illustrates how Artificial Intelligence operates in practice.

#### Reference:&#x20;

* <https://www.ibm.com/think/topics/artificial-intelligence>
