Methylene blue is also a photosensitizer used to create singlet oxygen when exposed to both oxygen and light. It is used in this regard to make organic peroxides by a Diels-Alder reaction which is spin forbidden with normal atmospheric triplet oxygen.