electrical forces are essential to form compounds as they are root of attraction and repulsion in the atoms and thus compounds !
and these electric forces are also responsible for the structure of the compound as how it takes shape !
for more Info, comment !