In general, herbs and plants that produce edible fruit (basil, tomatoes, peppers, blueberries) need the most light, while vegetables with edible leaves (lettuce, spinach, chard and other leafy greens) do better with less sunlight; some can even handle partial shade.