Heartbeat is an API that allows logging activity messages to the database. These logged messages are listed up to form a heartbeat stream. There are three built-in streams but developers can register their own.
This page holds links to documentation about the module "heartbeat" for drupal 6. From here you will find how to install the module, how to use it and how to implement its hooks.