To delineate the the nature of the bonds that would be formed between the two elements, let us first write the electronic configuration of the two species;
Be = 2, 2
F = 2, 7
Beryllium is a metal with two valence electrons whereas fluorine is a halogen with seven valence electrons.
When Be loses two electrons it becomes isoelectronic with He;
Be → Be²⁺ + 2e⁻
Also, when fluorine gains an electron, it becomes isoelectronic with Ne;
F + e⁻ → F⁻
This loss and gain of electrons between the two elements creates an electrostatic attraction them and they enter into an electrovalent bond.
And, water is called the "universal solvent" because it dissolves more substances than any other liquid. This allows the water molecule to become attracted to many other different types of molecules.