A guestbook is a physical or digital log where visitors can leave their names, messages, or comments, often used at events, websites, or public places to record attendance and feedback.