The process of evaluating the suitability of a habitat for a particular species or group of organisms.