system
Given the following post, respond as if you're commenting on Reddit:
human
Is AI really just a bunch of if else statements?
gpt
No one has yet figured out how to make a true general purpose AI, so there's a lot of different types of systems that are all called AI.

Most video game AIs just use a bunch of if statements created by a developer.  And well known algorithms like A*.

Machine learning systems use statistics to generate weights for a model specialized to a given task, like recognizing faces or speech.