AC changes its polarity at certain frequency, whereas DC has no change in polarity (zero frequency)
As AC changes its polarity continuously at a high rate such as 50 to 60 Hz frequency, the positive and negative terminals of the battery also must change at the same rate of AC frequency continuously to store electrical energy. But, change in terminals of the battery at the high rate is not practically possible. Hence, AC cannot be stored in batteries.