How does a NASCAR race end?

A Nascar race ends when the driver's take the checkered flag, completing the final lap. In the event that the race has to go into overtime, Nascar will use a green-white-checker finish. This will happen when there is a late race caution, not to have to end the race under the yellow flag.