What is meant by "Legitimate" stage?

Reading some actor biographies, I notice many worked in legitimate stage. What does that mean? and was there an illegitimate stage?
4 answers 4