Abstract
I review some aspects of the theory of noncommutative two-tori with real multiplication, focusing on the role played by Heisenberg groups in the definition of algebraic structures associated to these noncommutative spaces.