The formation of new gene combinations; in eukaryotes, may be accomplished by new associations of chromosomes produced during sexual reproduction or crossing over; in prokaryotes, may be accomplished through transformation, conjugation, or transduction.