Castle doctrine refers to self-defense laws that allow individuals to use force, including deadly force, to protect themselves within their own homes or other legally occupied spaces without the obligation to retreat.