Answer: Both of the compounds contain primary bonding; however, the bonding is of different types. Magnesium chloride (MgCl₂) contains ionic bonds, which are stronger and involve the complete transfer of electrons. Meanwhile, ethane (C₂H₆) also bonds by electron transfer but the electrons are not completely transferred from one atom to another. Instead, they are shared, forming what is known as a covalent bond.