Answer:
In ionic bonding, electrons are gained by atoms and lost by others. Chemical bonding occurs during chemical reaction. According to octet rule: In chemical reaction, atoms may gain, lose or shared the minimum number of valence electron in order to have the same electron configuration of the nearest noble gas.