Revealing Hidden Bias in AI: Lessons from Large Language Models