Artificial intelligence and its impact