The Fundamentals of Covalent and Ionic Bonding Explained