What exactly is hostid used for?

From: <iio7_at_tutanota.com>
Date: Sun, 20 Nov 2022 02:20:38 UTC
I have been trying to get some clear information about
what hostid is used for.

In /etc/default/rc.conf it says:

hostid_enable="YES"             # Set host UUID.

But the man page doesn't document this, and the information
found around the net is rather sparse.

1. What is it used for?
2. Can you safely disable it?
3. What relation does it have to ZFS?

Kind regards.