Understanding UMASK value in Linux

What is umask value? In computing, umask is a command that determines the default permission to be set on any file or directory is created. It also refers to a function that sets the mask,