Technically, BigChainDB internally uses RethinkDB as a datastore. Technically, the blockchain is stored as JSON string inside RethinkDB. BigChainDB is kind of wrapper on top of this storage which provides the needed cryptography techniques for building the blocks, parsinng the blocks and provides utility methods to access the database.