Which technique is used to handle control hazards caused by branch instructions?

Branch Prediction is a technique used to guess the outcome of a branch instruction to reduce the number of control hazards and maintain pipeline efficiency. When branch prediction is accurate, the pipeline can continue without interruption, maintaining high throughput. However, if the prediction is incorrect, the pipeline may need to flush the incorrect instructions and start fetching from the correct location, which can introduce stalls and reduce performance.