In a normal flower, the part that performs photosynthesis is
androecium
gynoecium
corolla
calyx
In a typical flower, the part that is green and performs photosynthesis is calyx. It is also involved in protection.