Here is our halacha (Jewish law) related to what we were talking about yesterday: what a person should and should not wear when praying. This is a somewhat challenging topic because it is hard for people to know what is normal and what is not normal in the right place, when praying in a shul (synagogue). Yaakov Gideon puts it as follows: he brings up Mishnah Berura, for example. He says pajamas. I know they cover everything on a person's body, but a person should not go to shul and pray there wearing pajamas. He does say, however, that if a person does not feel well and is praying, it is perfectly fine for them to wear that type of outfit.
Let's say you're at home in pajamas. If you're going to follow this rule fully, technically speaking, the person is better off being dressed properly and putting on a shirt, not just wearing regular pajamas and undershirts. That's one example. Another example, in the same vein, the same idea, is swimwear. A person is wearing a bathing suit; they're covered, so that's not the issue. It's the same concept: the problem is that it's not respectful. So, if you're having a minyan (prayer quorum) and you're wearing bathing suits, technically speaking, we wish for better: that people be dressed in more respectful ways. We understand that allowing them to do otherwise doesn't ruin it. But based on the esteem and the sentiment, the idea is to be dressed a little better, especially when you're praying in a minyan.
The third example is the other way: wearing gloves. Someone is praying in a minyan and wearing gloves. There's nothing disrespectful about gloves. In the wintertime, there's nothing disrespectful about them. However, it's still not the normal, settled way to pray. Therefore, a person should keep that in mind and take off their gloves when praying, because, again, they're not in a settled state. These are different concepts. One is a matter of respect, which applies to those cases. The other is a matter of how a person should pray and how people stand in a settled state in front of a king. That would mean being without gloves, and the same applies to wearing a winter coat during the winter. One is better off taking that off as well, just to be settled and properly dressed. It's not an issue of disrespect, but simply an issue of that not being the way to pray.
But regardless, these are the four examples we gave today. None of them are me'akev (essential); they're all concepts of lechatchila (ideally). One should, if they can, make sure to be dressed in the most respectful way: avoid pajamas, avoid bathing suits and other clothing, avoid gloves, and avoid winter clothes.

