When potassium fluoride forms from a potassium atom and a fluorine atom?

An electron is transferred from the potassium atom to the fluorine atom