Molarity of solids and liquids in equilibrium constant expression [duplicate]

Why is the molarity of pure liquids , solids and excess solvent taken 1 in the equilibrium constant expression?