Rollups are regular smart contracts on the Ethereum mainnet that serve as the relay between the mainchain and layer 2, where computations occur.