What is the purpose of the heartbeat mechanism in distributed systems?
a) Synchronize data across nodes
b) Monitor the health of nodes
c) Manage load balancing
d) Implement encryption for communication