In the age of rapid technological advancement, artificial intelligence has made significant strides, bringing forth both marvels and ethical challenges.…