In Artificial Intelligence, you study the relationship between an agent and its environment. Those agents have sensors that allow them to understand (sense) their settings. They also have actuators for acting on the environment. They have specified goals, and they can learn and use their knowledge to achieve their goals.