Energy storage is needed alongside green energy sources to primarily balance out the variability in renewable generation – electricity is generated only when the sun shines or when the wind blows.

https://indianexpress.com/article/india/as-share-of-renewables-increases-in-grid-govt-explores-storage-options-8369257/