To limit the probability that certain activities inside buildings will lead to unsafe conditions, which could lead to harm to persons.