What happens when light interacts with matter?