Atoms join together in ionic bonds because their opposite charges attract each other. So the correct answer is:
ionic bonds and covalent bonds.
However, it's important to note that covalent bonds involve the sharing of electrons rather than charge attraction. The first option listed is the most accurate concerning charge attraction but doesn't fit well with the covalent bond aspect. However, if an option was intended solely to indicate the bond type involving opposite charges, it would be ionic bonds.