explain the concept of optics