This is the privilege against disclosure which can be invoked relating to either legal advice or correspondence with one’s lawyers in the course of litigation.

Legal privilege is owned by in the client. It can be waived by them either consciously or unconsciously.