Genes are basic functional and physical units of heredity, they contain DNA molecules and act to make proteins by gene expression that involves transcription and translation process. Each gene codes for a specific protein.
When populations are migrating their genes are experiencing gene flow. Gene flow or gene migration is the transfer of genes from one population to another.