Many animals have beneficial traits that help them survive their environment. How do these traits develop in organisms?