I have a LG G7 Thin Q running Oreo. While poking around the settings, I came across "Install unknown apps."
Settings -> Apps & Notifications -> Special Access -> Install unknown apps
It is a list of programs that may install unknown apps. Only Messaging and Email are allowed to install unknown apps.
Why does Android have the option for apps to install unknown apps? It seems rather vulnerable to malware.