Why is It Called a Spelling Bee?

When anything is referenced as a ‘bee’, it usually means a social gathering, busy as a bee, ect. Therefore, a spelling bee is a busy, active place and the traditionaly they are called a bee.