The representation dimension of an algebra was introduced in the early 70's by M. Auslander, with the goal of measuring how far an algebra is from having finite number of finitely generated indecomposable modules (up to isomorphism). This invariant is not well understood. For instance, it was not until 2002 that O. Iyama proved that every algebra has finite representation dimension. This was done by constructing special quasihereditary algebras. In this talk I will give an introduction to this topic and I shall briefly explain Iyama's construction.