Foxconn interview question

what is sensor in electronics