Atomic structure and chemical bonding