AI is used to generate responsive, adaptive, and intelligent behaviors primarily in non-player characters (NPCs) similar to human-like intelligence. AI plays an integral role in video games since its inception in the 1950s.