Question: are cosmos annuals or perennials?
Answer: Most Cosmos varieties are annuals, including Cosmos bipinnatus on your picture. It will probably grow for you again from last year's seeds.