A warrant is a legal document issued by a judge or magistrate that authorizes law enforcement to perform a specific act, such as arresting an individual or searching a property, ensuring that such actions are conducted within the bounds of the law. It serves as a critical safeguard against arbitrary or unjustified intrusions by the state into personal freedoms, requiring probable cause to be demonstrated before it is issued.