How can the use of ob_start and ob_flush functions in PHP help in displaying content immediately?

When working with PHP, sometimes the content is not displayed immediately due to buffering. This can be resolved by using ob_start() to turn on output buffering and ob_flush() to flush the output buffer, sending its contents to the browser immediately.

<?php
ob_start();
echo "This content will be displayed immediately.";
ob_flush();
?>