is this compulsory that in plate heat exchanger the heat only can be transferred between same fluids?
No. Any fluid that can safely pass through one side or the other of a plate exchanger can exchange heat with any other fluid. One can even be a liquid and the other a gas.