A demon named durgama (दुर्गम), through his penance, got the wedas from Lord Brahma and also gained invincibility. He became very arrogant and started suppressing the subjects, noble men, sages, deities, etc. He restricted the flow of all rivers which resulted in a drought and famine across the country. People were thus tormented by the demon’s atrocities.
These helpless people worshipped Goddess Annapurnaa (अन्नपूर्णा) to rescue them from this situation. The Goddess, pleased by their prayers, appeared in a beautiful form carrying grains, cereals, fruits, vegetables and herbs. She was so much moved by the people’s plight that tears rolled down her eyes for nine continuous days. These tears became a river which ended the drought and it also fertilized the soil thereby producing abundant vegetation, fruits and grains.
A fierce battle took place between the Goddess and the durgama demon wherein she slew him and put an end to his unjust rule. This battle seems to have given her the name durgaa (दुर्गा). Since she nourished the starving people with vegetation, she got the name शाकम्भरी shaakambharii. In Sanskrit, शाक (shaaka) means vegetation and भरी (bharii) is a derivative of the root भृ (bhR) meaning ‘fill with, fulfill, complete, nourish’. Hence, शाकम्भरी means the one who nourishes with vegetation (food).