Here's an animated reference to the hammer and sear assembly and their relation to each other and other parts (click on the image for animation):