Living in herd is a structural adaptation.
There are three different kinds of adaptations: behavioural, physiological and structural.
Adaptations help animals survive and their ecosystem.
The second sentence does not sound correct but it seems correct to me (just not in grammar).
Hope it helped!