The Heisenberg group is considered as the boundary of a manifold. A class of hypersurfaces in this manifold can be regarded as copies of the Heisenberg group. The properties of geodesics in the interior and on the hypersurfaces are worked out in detail. These properties are strongly related to those of the Heisenberg group.