What attracts wasps into my property?

Food scraps, open trash, fallen fruit, and flowering plants. They also seek sheltered nesting sites like attics or sheds.