Mandatory means something that is required by law, rule or regulation. It refers to a duty or obligation that must be fulfilled and is not optional.