How do biological communities get to be the way they are?