A login item is an app, document or server that opens by itself when you log in. You can add your own, and apps can ask to add themselves.
How to see and change them
Open System Settings > General > Login Items & Extensions. The Open at Login list shows login items. Select one and click the minus button to remove it.
The Allow in the Background list below it is different: it shows background programs such as launch agents and launch daemons, which run without opening a window.
Why they matter for security
Most login items are apps you chose. An entry you don’t recognise, especially one that isn’t an app, is worth checking: malware sometimes registers itself here so it starts every time you log in.