A slightly more polite term to use instead is 他妈的 (tā mā de), literally "his mother." Like f*** in English, it has multiple uses – it can be used to mean "damn it," "gosh," "f*** it," or as a modifier on almost every phrase you can think of to give it a little oomph. And like f*** in English, it doesn't always have to have an angry ... More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.