Autocorrelation - corCAR1 function

Can someone explain to me what this function: "correlation=corCAR1(form=~1|cy)" does?

It brings down the autocorrelation in my model substantially, but i don't know how it works...

I would be very grateful for an explanation.

Thanks in advance!