Raft is a consensus algorithm that allows for a replicated log to be consistently maintained across multiple servers. It elects a single leader to be responsible for log replication. The leader appends entries to its log, and replicates these entries to a majority of servers to be committed. This ensures safety properties like state machine safety and leader completeness. Raft aims to be more understandable than alternatives like Paxos through separation of concerns and reduced state spaces.