Cilantro prefers partial shade, especially in hot climates. It can tolerate some sun, but too much can cause it to bolt.