During that period in American history, men who were thought to be Communists or homosexuals were routinely interrogated and sometimes imprisoned.
Note: Except when used in older scientific or technical writing, the noun homosexual is now considered offensive by many people.