The primary function of elastin fibers is to impart elasticity to tissues, allowing them to withstand repeated stretching and deformation. This property is particularly important in organs like the lungs, where elasticity is crucial for efficient respiration, and in blood vessels, where it helps maintain blood pressure and flow.