Carrying capacity, or the maximum number of individuals that an environment can sustain over time without destroying or degrading the environment, is determined by a few key factors: food availability, water, and space
Natural selection is a process that causes heritable/favorable traits that are helpful for survival and reproduction to become more common as time goes on, and it gets passed from generation to generation.