We shall show how the theory of shadows is applied to both self-dual codes over rings and unimodular lattices. Then we shall describe the natural bridge connecting the two theories.