Unveiling the Inner Workings: A Deep Dive into BERT’s Attention Mechanism