How do younger workers pay for social security benefits to retired workers?

Workers pay a social security tax out of their pay checks.