How do collections work?