In this article, based on chapter 3 of MongoDB in Action, author Kyle Banker talks about binary data format used for representing documents in MongoDB.

A Quick Tour of Binary JSON (BSON) (PDF)