just about every stick built house constructed in the past century or longer has had nails then later screws run into the end of lumber You nail or screw the base plate of a wall to the studs through the base plate then the sill plate in nailed or screwed to the tops of the studs then the wall is stood in place is just one example