Complex sentence: Species such as titan arum and the dead horse arum give off a very pungent smell, often resembling a rotten animal, to attract flies to pollinate the plant.
Split into simpler sentences: Species such as Titan Arum and the dead horse arum give off a very pungent smell, often resembling a rotten animal. This is to attract flies to pollinate the plant.