Define attributes sampling. When is it used in the audit

Define attributes sampling. When is it used in the audit examination?