There are 6 type of simple machines, one of which is lever. Hammer is an example of lever. Levers are rigid bars that are pivoted at one point called a fulcrum, that is your hand. This is also the point where you apply force that is being maximized along its length to make it easier to pin down the nail.