Guard cells are specialized epidermal cells that control the opening and closing of stomata. They swell or shrink in response to environmental cues, such as light, carbon dioxide concentration, and internal water pressure, known as turgor pressure. When guard cells are turgid, the stomata open, allowing gas exchange. Conversely, when they lose turgor pressure, the stomata close, reducing water loss.