nic compounds are made up of electrically charged atoms or molecules as a result of gaining or losing electrons. ... Covalent, or molecular, compounds generally result from two nonmetals reacting with each other. The elements form a compound by sharing electrons, resulting in an electrically neutral molecule.