Victimless crime
classification of criminal offences
A victimless crime is an illegal act that has no victim, as the act doesn't involve harm to anyone (apart from the person doing the crime). Criminalization of victimless acts is especially a contentious issue among those who identify with libertarianism.
Victimless crimes include things like possession of illegal drugs, owning guns, collecting rainwater in many cities, etc.