The best of both worlds.
Local volatility models, such as Dupire's, match the entire vanilla smile exactly by construction, but generate a forward smile that flattens unrealistically fast with time. Stochastic volatility models, such as Heston, produce persistent and realistic forward smiles, but generally cannot fit every strike and maturity of a given surface exactly without an unwieldy number of parameters.
The stochastic local volatility (SLV) framework combines both ingredients: a genuinely stochastic variance process supplies realistic dynamics, while a deterministic leverage function, calibrated on top of it, forces the model to reproduce the market smile exactly. This hybrid construction has become an industry standard for pricing exotic and path-dependent payoffs that are sensitive to forward-smile behaviour.