ex. Federal employee social security deduction from each paycheck is mandatory.
but Your health insurance, dental. vision and 401K, in federal it is called TSP, can opted out.