So ghusl is taken from jewish law as well then ?
See
Mikveh, the Jewish bathing ritual.
Its main uses nowadays are:
by Jewish women to achieve ritual purity after menstruation or childbirth;
by Jewish men to achieve ritual purity (see details below);
as part of a traditional procedure for conversion to Judaism;
to immerse newly acquired utensils used in serving and eating food.
In Orthodox Judaism, these regulations are steadfastly adhered to, and consequently the mikveh is central to an Orthodox Jewish community, and they formally hold in Conservative Judaism as well. The existence of a mikveh is considered so important in Orthodox Judaism, that an Orthodox community is required to construct a mikveh before building a synagogue, and must go to the extreme of selling Torah scrolls or even a synagogue if necessary, to provide funding for the construction.[5] Reform Judaism and Reconstructionist Judaism regard the biblical regulations as anachronistic to some degree, and consequently do not put much importance on the existence of a mikveh. Some opinions within Conservative Judaism have sought to retain the ritual requirements of a mikveh while recharacterizing the theological basis of the ritual in concepts other than ritual purity.