Introduction to modern atomic physics with ultracold atoms and photons. The basic theoretical tools for atom optics and quantum optics will be introduced. Recent research works will also be covered including many-body states in optical lattices and synthetic topological states in ultracold atoms.