to do something that is against the law
If you break the law, you could end up in jail.
如果你违法,你可能会进监狱。