Both the fruit as well as the seed of the plant enclose psoralen, which is valuable for enabling the skin to create new pigments when out in the open to sunlight and hence is effectively used to cure diseases such as vitiligo and psoriasis (a skin ailment that is marked by red scaly patches).