The shovel acts like a lever "when the shovel is in the dirt and you push down against the end of the shovel, making it pivot."
In this scenario, you are applying a force at one end of the lever (the handle of the shovel), while the pivot point is at the edge of the shovel that's inserted in the dirt, allowing you to lift the soil more easily with less effort due to the mechanical advantage provided by the lever system.