Which statement best compares routers and hubs?

A. Hubs are the gateways of LANs, assisted by routers.

B. A router is a gateway to a network, whereas a hub is a connection between nodes.

C. Both send data, but a hub is better for large networks.

D. A hub is a gateway to a network, whereas a router directs packets.