Is a hub a collision domain?

Hubs are not collision domains but a networking device. Hubs have single collision domain that makes them very undesirable for modern networks.