What is the meaning of Come_out_of_the_closet?

To tell others about one's homosexuality, bisexuality, transness, or any minority or disapproved-of identity, belief, preference, etc., where previously this had been kept secret.

Source: wiktionary.org