Atoms have electrons arranged in shells, and the outer shell is the part that matters most for bonding. If an atom loses or gains electrons, it becomes an ion.
Step-by-step lessons on AQA GCSE Combined Science Chemical bonds, ionic, covalent and metallic. Each one builds up to exam-style questions.