what is the difference between collision domain and broadcast domain?
Collision domains are generally smaller than, and contained within, broadcast domains. While some layer two network devices are able to divide the collision domains, broadcast domains are only divided by layer 3 network devices such as routers or layer 3 switches.