A relay is used to control any home appliances from any IOT or Embedded devices. A relay is nothing but an electrically operated switch.