Gates keep wanted things in and unwanted things out