How does our database work?