Many home treadmills include adjustable slope settings
https://www.anobii.com/en/0122fbe59fc8781e2e/profile/activity
Lots of home treadmills include adjustable incline settings, enabling you to replicate outside terrain for stronger legs and much better workout range, whether you're training for hills or burning more calories.