In an ionic bond, one atom essentially donates an electron to stabilize the other atom. The atoms in an ionic bond have different electronegativity values from each other.
While in a covalent bond, the atoms are bound by shared electrons and the electronegativity values are the same.