White flag is one of the seven flags of NASCAR. Its use is used at only two parts in the race.
The first use is at the halfway point, when the flagman crosses the white flag with the green flag.
The other use is on the last lap, a way of signifying that the race has that many laps to go. The next flag displayed is the checkered flag.