Explain how covalent and ionic bonding works.

GCSE