How to invest 5k/month?

Me and my wife are in mid 30s we max out our 401ks and invest in our company’s espp. We have no debt besides our house. We also have 6 months of emergency fund saved up. We have about extra 5k each month that we can invest and I was thinking real estate can be a good potential for a cash flowing passive income but I don’t know if it’s the best option but if it’s I don’t know where to start. Any advice?