function and structure of Joints