Mortice and tenon
A mortice (or mortise) and tenon joint is a type of joint that connects two pieces of wood or other material. Carpenters  have used it for thousands of years to join pieces of wood. It is used when the adjoining pieces connect at an angle of 90°.