Ac and Dc are simply two different ways of looking at exactly the same thing.
Some things it make sense in working with the DC value which is the same as the instantaneous voltage level at any point in time. In reality, all DC voltages actually vary - equipment gets turned on and off, batteries discharge and recharge. Batteries, that is an excellent example of something that is most convenient to analyze as a varying DC voltage. Even the best and most stable DC voltage actually has time varying noise on it. Perhaps at absolute zero, a perfect DC voltage could exist, but we cannot do a lot at absolute zero.
AC is particularly good at analyzing repetitive cyclic waveforms. Working with 1KHz AC sinewave of 1V RMS is much easier then trying to do the calculations for a DC voltage that is varying according to the sine function of time. It would be totally possible to treat all waveforms as varying DC, but then you would find yourself spending all day staring at complex differential and integral equations, and saying "there has to be an easier way". But when the waveform does not allow the convenient shortcuts embedded in the concept of AC to be useful, you do have to returns to analyzing waveforms as varying DC voltages. The 4th image is exactly the type of waveform that may not benefit much from using the concept of AC.
In the case of a waveform that has both a DC and AC component like your second image, it is usually easier analyzing or understanding it as a DC voltage with an AC voltage added to it. So in the first image, the green trace is pure AC. The other two traces are AC with a DC offset.
The 5th image could be a high frequency sine wave superimposed on a large low frequency waveform, but we cannot see enough to know. Based on what we can see, it would probably be easier considering that as a sine wave added to a decreasing DC voltage.
So to sum up, there is really only one kind of voltage and that is the instantaneous DC voltages at each instant of time. AC is a concept to make it much easier to work with cyclically varying waveforms in a much simpler way then we could if we tried to think of them as varying DC voltages. The concept of AC works wonderfully when you have capacitors, inductors and transformers. A capacitor cannot pass any unchanging DC, but it can pass AC waveforms, along with transients. Transformers can only output AC with no DC offset, and transformers cannot cope with any DC component on the input. The concept of AC is a tool available for us to use. Potential difference (volts) is a fundamental physical property of matter - it is DC volts. There is no different fundamental property of matter called AC potential. Rather AC volts is a convenient label we apply to certain types of varying DC voltages, and that really is all that it is.
So once you realize that it is your choice, you look at a waveform and you decide if it is easier to think of it as DC or AC or a mixture of both.
Richard.