What are the three main purposes of structural adaptations?