This document summarizes Werner's theory of coordination compounds and bonding in coordination compounds. According to Werner's theory, metal atoms in coordination compounds have both primary and secondary valences. Primary valences satisfy the compound's oxidation state and are satisfied by anions through ionic bonds. Secondary valences are satisfied by ligands through coordinate covalent bonds and determine the compound's coordination number. The document also discusses Sidgwick's effective atomic number rule for stability, Pauling's valence bond theory of hybridized orbitals in coordination compounds, and magnetic properties based on electron configuration and spin.