Sepals and the petals are accessory flower parts which don't have an active role in fertilization. They attract pollinators with their attractive and bright colours. They also give protection to reproductive whorls, stamens and carpel.