how does a cow survive in each habitat?