A computer network connects devices through transmission mediums like wires or cables. It allows devices to send and receive stored data. There are several network topologies that determine how devices are interconnected, including bus, star, ring, tree and mesh. Bus topology connects all devices to a single backbone cable. Star topology connects each device to a central hub or switch. Ring topology connects devices in an endless loop. Tree and mesh topologies provide multiple connections between devices in a hierarchical or fully/partially connected manner respectively.