The term "bailiff" has several meanings depending on context.
Law Enforcement
A bailiff is a court officer who maintains courtroom order, controls access, serves legal documents, and enforces orders such as evictions.
Property Management
A bailiff may be appointed by a court to take possession and manage property during foreclosure, bankruptcy, or rent disputes.
Historical Context
Historically, bailiffs were officials appointed by lords or monarchs to manage property, or officers responsible for serving writs and collecting debts.