A virtual circuit is a logical connection established within a network to ensure reliable communication between endpoints, often used in packet-switched networks. It simulates a physical circuit by maintaining a dedicated path for data packets, providing consistent quality of service and order of delivery.