Occurs when a species' range becomes smaller over time due to environmental changes or human activity.