The ability to run tasks inside other tasks was introduced in Prefect version 2.18.x. This enhancement allows a task to call another task, providing more flexibility in structuring workflows. You can check out the detailed documentation on this feature in the Prefect 2.x docs
here.
Just imagine - tasks nesting like Russian dolls, but without the strange painted faces!