What’s the deal with "lo"?

I'm a beginner compared to most people here so I probably wouldn't understand this, but I've seen the word "lo" being used in certain spanish phrases like "lo siento" or "lo bueno/malo es…" but I can't seem to figure out what it means exactly. Could someone please explain this to me?

submitted by /u/heyitsbilal
[link] [comments]