Network topology refers to the physical or logical arrangement and interconnection of devices within a computer network. It describes the way in which network components, such as routers, switches, and computers, are connected and how data flows between them.