a chain is used for security