And what type of bonds do atoms join together because their opposite charge attracts each other

Atoms with opposite charges join together through ionic bonds.