Autocorrelation of a stochastic process

What does it mean to compute the autocorrelation between two different time istances in a time series? I don't well understand the concept, which is the sense of measuring between two time istances of the same series? Thanks!