Chemical bonds form between atoms in order to fill their outer electron shells. Ionic bonds form when electrons are transferred between metals and nonmetals, creating positively and negatively charged ions. Covalent bonds form when electrons are shared between nonmetals. Metallic bonds form between metal atoms through a "sea of electrons".