There are 4 main types of chemical bonds: nonpolar covalent bonds form between identical atoms and share electrons equally. Polar covalent bonds form between different atoms and electrons are closer to the more electronegative atom. Ionic bonds form when atoms gain or lose electrons to become ions with opposite charges that are attracted to each other. Hydrogen bonds occur when a hydrogen atom bonded to an electronegative atom is attracted to another electronegative atom, and can occur between or within molecules like water and DNA.