It depends on your situation, it’s always good to have some level of liquidity in form of cold hard cash in the bank.
It’s absolutely paramount to have 6 months expenses though. You can also put in a FD if you so wish. Beyond that, how much you want to put in the market/real estate/savings account is a personal decision. Mathematically it makes sense to have the rest in equity if you are young and don’t know what you are doing with real estate.
Index funds are probably the most fool proof way of investing we have, you can ofc do other things if that’s something you have great understanding of.