Unknown sources in settings is a feature in MI that allows you to connect to devices that are not on the same network as your device. To use this feature, go to Settings>Wi-Fi>Other and select the device you want to connect to.