First, the orange dot, if you see an orange dot appear, it means that your iPhone’s microphone is being used.
Next, the green dot, this dot is the same size and shape as the orange dot. If you see a green dot appear on your iPhone, it means that an app is using your camera.