Veeam Software Interview Question

What is a “subnet mask”? What is its purpose?