What is the difference between active slave and passive slave

what is the difference between active slave and passive slave ? and also the difference between active master and passive master

In reply to BAAOUNI Sabrine:

You’re mixing terminologies for different but closely connected concepts.

Active or passive refers to whether a component is actively driving signals to the DUT interface or just passively observing signals for correctness or collecting coverage data for analysis. The choice of active or passive depends on where you are in your testbench flow and what needs to be communicated to the DUT to exercise the test.

Master/slave terminology is protocol specific. Typically a master initiates commands while a slave responds to commands. This terminology is mostly used when there is more than just a point to point connection between units (i.e. multiple masters/slaves on a single bus). Your DUT could either be the master or a slave unit in a system. Or your system could contain both masters and slave internal to it.