How do views work?