It is essential to used this function. what will happen using this? can it will improve execution time and speedup my website?
The mysqli_free_result() function frees the memory associated with the result.
Thus, it's for the system's health and potentially avoid memory-related problem and thus provide better performance.