Connecting an outdoor light
I'm guessing there was an old light exactly there?  And that light happened to have an integral junction box which housed the wiring splices?   

You'll need to install an appropriate outdoor junction box for your country's wiring methods.  Then mount the light either independently, or I have been known to mount it on the junction box lid.  Then create a proper entry for that cord into the junction box, and splice it therein.