It is a sin to uncover private parts in Islam. That is why both men and women are to dress decently and keep all private areas duly covered. Exposing or touching your intimate parts without a valid reason is considered haram. A Muslim should only expose those areas if they are bathing, going to the toilet, giving birth, and the like.