A man who has wood and does things with it. Carpenters use their tools for such purposes as screwing, drilling, and reaming. Rubbing and sawing away at old logs are also common activities. Nailing, while definitely an important part of carpentry, is not nearly as good as screwing. Carpenters also often get glue all over their wood.
While carpentry is an important and serious subject - after all, without it, we wouldn't have such things as chairs, desks, tables and doors - the terminology of carpentry is fraught with opportunities to make crass sexual innuendos.
Carpenters themselves, of which I am one, exploit these opportunities whenever possible.
Jesus was a famous carpenter, but all the jokes were removed by po-faced editors when he wrote The Bible.