@moeiny
TV remote controls work by using a type of light called infrared . The remote control has an LED light in it which flashes really quickly to emit a message which is then picked up by the TV. The remote is called the transmitter, and the TV is called the receiver.
This design is a complete guidance for TV controller.