i was jus twondering what is the diffrences between these 2 above formulas as with the $$

=COUNTIF($A$1:$A$20,">20")
=COUNTIF(A1:A20,">20")

Why are there $$ in some formulas and what does this char does?