In the federal courts, supervision is a way to monitor the actions and behavior of defendants and offenders released to the community. These persons are either awaiting trial, on probation, or supervised release which is a term of community supervision following a term of imprisonment. U.S. probation and pretrial services officers provide supervision by carrying out duties to help ensure that persons under supervision obey the law and comply with the conditions set for their release. These duties include visiting defendants and offenders at home and at work, checking on their attendance at court-ordered drug or mental health treatment, and much more.