xxxxxxxxxx
As the main role of the Leader is to perform the task of all read and write requests for the partition, whereas Followers passively replicate the leader.
Hence, at the time of Leader failing, one of the Followers takeover the role of the Leader.
Basically, this entire process ensures load balancing of the servers.