Every blockchain is developed in a differnet way. Also there storage structure varies. If we take an example of bitcoin, it use level DB for storing the blocks of information on disk. whereas etherum uses' storage like a Redis, RocksDB or LevelDB for storage. A DAPP and its Smart Contracts may use this storage a page of hard-drive storage in a regular program.