Given the task definition and input, reply with output. Given a scientific question, generate a correct answer to it.

What two activities are especially important when a number of local populations are linked, forming a metapopulation?
immigration and emigration