There are certain plants that grow well together. They might help fight off insects etc. Here are some plants that go well together.
Beans and corn
Tomatoes and carrots
Carrots, onions and parsley
Onions also can be planted with cabbages. (That is what I did this year.)
Go here for more organic gardening