Breeding
Breeding happens when two Pokémon that are compatible are left in the DayCare. They will produce an Egg if they are compatible.
Compatibility
The two Pokémon must be the same species or in the same egg group and must be different genders. Ditto can breed with any other Pokemon that's not Ditto or that cannot breed. Pokemon that are in the "undiscovered egg group are unable to breed. Baby Pokémon cannot breed.