Technically speaking, parsley is a biennial herb. This means it grows harvestable leaves in its first year, then seeds in the second year by flowering.
A lot of gardeners who want a continuous supply of parsley, discard the plant every year, or stagger planting so there’s always a parsley plant seeding and a plant growing for harvest.