Blockchain and its applications