The lightning network is a two-way payment channel between users, which enables them to conduct off-chain transactions on the blockchain.