Complex sentence: In southwestern Asia, especially Iran, the berries are used for cooking, to spice rice, for example.
Split into simpler sentences: In southwestern Asia, especially Iran, the berries are used for cooking. They are used to spice rice, for example.