Compounds are groups of two or more elements that are together. There are two main types of mixtures that hold those particles together, covalent and electrovalent/ionic mixtures. Covalent compounds happen when the atoms share the electrons, and ionic compounds happen when electrons are donated from one atom to another.