From waves to quantum light