The history of shelters in living beings: a complex evolution over centuries