The keyword "FUNCTION" is used to create a stored function in MySQL. It is followed by the function name, input parameters, and the function body that contains the logic and calculations. A stored function is defined using the "CREATE FUNCTION" statement in MySQL.