In some jurisdictions trespassing is an offense or misdemeanor covered by a criminal code. In other jurisdictions it is not consider a crime or penal in nature, property is protected from trespass under civil law and privacy acts.
See also right-of-way.
The term is also used for a transgression in general, also in the Lord's Prayer.