how does AI think