Hi @sagar-stoufa
Welcome to the MySensors community!
I am not sure I understand your question, but this example sketch shows how to send data between sensors https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/examples/PingPongSensor/PingPongSensor.ino