SSAB Interview Question

Explain subnet masking to me