This technology has immense potential to decode certain aspects of dreams using brain activity.