Competition occurs when two populations vie for the same limited resource, negatively impacting both populations as resources become scarce.