Spanner is Google's global, scalable, and synchronously-replicated database, enabling high availability and externally-consistent distributed transactions. It utilizes a unique time API to manage clock uncertainty, facilitating features like nonblocking reads, atomic schema changes, and consistent backups, even across data centers. The infrastructure supports automatic data sharding and replication based on geographic locality while allowing applications to dynamically control replication configurations and achieve strong consistency.