Without energy supply, oscillations are damped because of friction, emission of waves, etc. As the result of damping, the amplitude of the oscillation decreases with time.
Move the slider to see the effect of damping on the oscillation.