Optoelectronics focuses on light emitting and detecting devices, whereas photonics is concerned with the physical science of light and its applications.