Thioflavins are dyes used for histology staining and biophysical studies of protein aggregation. They are also used in biophysical studies of the electrophysiology of bacteria.