Racing flags are there to indicate to drivers and fans about events happening during the race. There are different flag colours and designs to denote different situations, such as the yellow flag indicating danger, the green flag indicating that the road ahead is clear or the red flag to indicate the race has been stopped.