how would i make a finish line for a racing game

i need to now how to make a finish line for a racing game.

if you use a script in your answer please try to explane it

use an collider or something simular as an trigger … if the car triggers it,the race is over