Smart contracts are bits of computer code that perform a set of instructions. Dapps are decentralised apps that bundle together smart contracts into packages that people can interact with.