new NASCAR fan here

i just watched NASCAR last year, and i still don't understand how NASCAR drivers score points, can someone explain?