Artificial Intelligence and Its Impact on Society