The document compares Rails to Burger King by listing various components that make up their architectures. It lists clients, stuff/steaks, cooks, boxes, waiters, and questions as common elements that represent the data, model, controller, and view layers in Rails and the customers, food, kitchen staff, packaging, servers, and inquiries in a Burger King restaurant.