 Again, just like leaves do, and the stomata has the guard cells that resides on the either side of the stomatal pore that regulates its opening and closing. So the fruit kind of exchanges these gases with the surrounding ears through these pores when the pores are open. And as the fruit develops or ripens, the epiderm gets replaced by periderm.