Two-component regulatory systems allow bacteria to sense and respond to their environment through signal transduction. They typically consist of a membrane-bound histidine kinase that senses an external stimulus and phosphorylates a response regulator protein. The response regulator then mediates the cellular response, usually through differential gene expression. Phosphorylation is achieved through the transfer of a phosphoryl group from ATP to the histidine kinase, and then to an aspartic acid residue on the response regulator. This system enables adaptation to various stresses, growth conditions, and environmental changes.