Two Pokémon can breed only if they share at least one egg group (with compatible genders). Egg groups also determine which egg moves a baby Pokémon can inherit.