Onions are rich in sulfate, which helps prevent hair loss and provides nourishment to hair follicles.