Habitat choice.

Imagine a redwinged blackbird deciding where to form a territory.

Abiotic factors involved in the decision include temperature, water, and solar radiation.

Biotic factors include mates, predators, prey, and vegetation for nesting.