In today's rapidly advancing technological landscape, the ethical implications of artificial intelligence…