let me explain the types and functions of masks