Final answer:
The scenario of grass being replaced by shrubs, and then trees on a sand dune exemplifies ecological succession, specifically secondary succession.
Step-by-step explanation:
The example that best illustrates ecological succession is: 'Grass grows on a sand dune, is replaced by shrubs, and then by trees.' This process is an instance of secondary succession, where an area that previously supported life and has nutrient-rich soil undergoes a series of changes in its community structure over time. Initially, pioneer species like grasses colonize the area, which is then followed by a succession of plant communities including shrubs and finally trees, leading to a more complex ecosystem.