Difference between subscriber and score board in uvm?

what is the difference between subscriber and scoreboard,and what are their uses in uvm?

In reply to lalithjithan:

Scoreboard and uvm_subscriber both are inherited from uvm-component.

Where [From uvm 1.1d kit],
//------------------------------------------------------------------------------
//
// CLASS: uvm_subscriber
//
// This class provides an analysis export for receiving transactions from a
// connected analysis export. Making such a connection “subscribes” this
// component to any transactions emitted by the connected analysis port.
//
// Subtypes of this class must define the write method to process the incoming
// transactions. This class is particularly useful when designing a coverage
// collector that attaches to a monitor.
//------------------------------------------------------------------------------

In reply to lalithjithan:

See uvm_scoreboard vs uvm_subscriber | Verification Academy

It is unfortunate that interface classes in SystemVerilog came after the UVM was already in place because a scoreboard is both a extension of a uvm_component and an implementation of a uvm_subscriber.