What is the function of a guard cell?

To increase the surface area for gaseous exchange.