Wearing masks while inside buildings goes hand-in-hand with other regulations like wearing shoes or shirts. It is to protect everyone from the spread of disease.