Historically, a "grocery" was a store that sold goods in bulk, particularly large quantities of dried goods, like grains and spices. Over time, the meaning shifted to encompass a wider range of food and household items, leading to the modern use of the term.