Besides acts like assaulting or molesting a child, a sex offense can also include crimes like exposing oneself to a child. So if you urinate in public, and there are children around, you could potentially get charged with a sex offense in some states.