Covid R rate: What is the R number and why does it matter?

Health experts keep discussing the value of R, but what is it and why does it matter?