We focus on two significant aspects of the deep relationship between Guido Castelnuovo's scientific research in the field of algebraic curves and their moduli spaces, on one hand, and teaching practice at both university and school level, on the other.