The primary function of an osteon is to provide structural support and strength to compact bone. The arrangement of lamellae and the orientation of collagen fibers help to resist torsion and bending forces. Additionally, the Haversian canal system facilitates the delivery of nutrients and removal of waste products, which is essential for the metabolic functions of the bone cells.