Vigilantism refers to the act of individuals or groups taking the law into their own hands and enforcing justice outside of the formal legal system. It involves the use of extralegal measures to address perceived wrongs or threats to the community, often in the absence of or dissatisfaction with official law enforcement.