What each contract guarantees
Whole life: a fixed premium, a guaranteed minimum cash-value table written into the contract at issue, and a guaranteed death benefit, plus non-guaranteed dividends from a participating mutual carrier (which major mutual carriers have paid every year for over a century).
IUL: a flexible premium within IRC §7702 limits, a credited rate that varies with the chosen index strategy subject to a cap and a contractual floor (typically 0%), and a death benefit that's guaranteed as long as the policy is funded to stay in force.