Dg-categories provide a unifying framework in which to study various phenomena of algebraic geometry, symplectic geometry, and singularity theory. After a brief introduction to noncommutative geometry from the point of view of dg-categories, I will discuss certain moduli problems associated to noncommutative spaces.