A mahram is a person, relative of the opposite gender, with whom marriage is not permissible due to their close blood relationship, such as a brother, father, or uncle. Many scholars advise women to travel with a mahram for safety.