A stub pin is a small, sturdy metal pin used in construction and scaffolding to secure and align scaffolding components. It is commonly used in conjunction with couplers or connectors to create a stable and secure scaffolding structure.