Hinin were a marginalized social group in Japan during the Edo period, often considered outside the four main classes of the Tokugawa social hierarchy. They were typically associated with occupations deemed 'unclean,' such as executioners, beggars, and those involved in certain trades. Their status placed them in a unique position where they had few rights and were often subject to discrimination, reflecting the strict social stratification established under Tokugawa rule.