"It is used to provide the control for accessing the original object".
Proxy pattern is to provide a Surrogate or Placeholder for an object to control its references.
Subject: Interface implemented by the RealSubject and representing its services.
It is also implemented by Proxy.
Proxy: Controls access to the RealSubject and may be responsible for its creation and deletion.