Scientists have developed molecular devices that can switch roles, behaving as memory, logic, or learning elements within the same structure. The breakthrough comes from precise chemical design that ...