obscenity
Word family
Synonym discussion
Sense: noun/2
An 'obscenity' is narrower than 'profanity' or 'swearword' because it usually points to language or acts that are sexually offensive, not just rude or angry. 'Profanity' often involves religion or general swearing, while 'swearword' is the everyday label for a bad word of any type. 'Vulgarity' can describe coarseness in style, behavior, or taste, so it is broader and less tied to one spoken item. 'Indecency' is closer to sense 1 because it often describes the overall quality of being improper rather than one specific expression. If a driver shouts one shocking sexual insult, 'obscenity' fits well; if a speaker simply uses rough language throughout a talk, 'profanity' may be the better choice.
Etymology
This noun comes from Latin 'obscenitas', built from a word meaning something foul or indecent. It reached English through French and kept the idea of speech, acts, or images that shock people because they are sexually crude or improper.