In MySQL, what is the purpose of the IFNULL() function?
A. Calculate the average value
B. Replace NULL values with a specified value
C. Concatenate multiple rows
D. Round numeric values
'IFNULL()' is used to replace NULL values with a specified value in MySQL.