classification of animals based on habitat