The stamen is a very important part of the flower because it contains the male reproductive organs. The stamen is comprised of the filament, which is the long, slender stalk, and the anther, which is at the top of the filament and is where pollen grains are produced. The main function of the stamen is to produce the pollen grains, which house male gametes, or sex cells, necessary for reproduction.