Gametogenesis is the formation of male and female gametes, whereas embryogenesis is the formation of embryos.