The ultimate goal of artificial intelligence is to create machines that can perform tasks that would require intelligence if done by humans.