Runways are generally aligned based on:

Explanation:

Runways align with prevailing winds to reduce crosswind effects.