Many home treadmills consist of adjustable slope settings
https://tread-millslde884.terracolumn.com/posts/5-clarifications-on-home-running-machine
Lots of home treadmills include adjustable slope settings, allowing you to replicate outdoor surface for stronger legs and much better workout variety, whether you're training for hills or burning more calories.