The filament of a plant is a stalk that connects to the anther, both of which comprise the stamen. The anther is responsible for producing pollen, which is necessary for plant reproduction.
The filament and anther are part of the system that is essential for the plant to reproduce. Before a flower bud opens and produces and releases pollen, it is encased in protective leaf-like growths called sepals. When a flower bud opens, its petals typically serve to attract insects and other animals that carry pollen to other plants, thus enabling fertilization. Some flower petals possess scents that draw insects to them.