A network loop occurs when there is more than one path between two endpoints in a network, causing data packets to circulate indefinitely and potentially leading to network congestion or failure. Effective loop prevention mechanisms, such as Spanning Tree Protocol, are crucial to ensure network stability and efficiency.