Stomata are the pores present generally in the epidermis of leaf. A stoma contains a pore which is surrounded by two kidney shaped guard cells. During day time CO2 is used in the photosynthesis which increase the pH of guard cells. (Day) decrease in CO2= increase in pH of guard cells. (Night) Increase in CO2 = decrease in pH of guard cells.