If an year is divisible by 4 then it is an leap year.
here 1800 and 2020 are divisible by 4.
But there is also an another rule that if the year is an centuary ie., 1800,1900,2000,2100 .....
that must be divisible by 400 then it is called leap year so here 2020 is an leap year.