Researchers have developed a tiny nanolaser that can function inside living tissue without harming it.