Lightning is a second layer solution for bitcoion

It is a mechanism to scale bitcoin transaction with a 2 of 2 multisig setup which creates a channel

which can be used to send and receive sats between channel partners endless times without writing data into a block.