Lightning is bitcoin which has a base layer called a blockchain that records channels opening/closing agreements in a ledger.