Definitions of vice
crime involving prostitution, pornography, or drugs
He was arrested during an undercover operation by the city's vice squad.
immoral or wicked behaviour or characteristics
He's still in good health, which he attributes to "a life of no vices - no smoking and no drinking".