Several factors could be at fault:
Blown bulb (check first!)
Faulty switch
Tripped circuit breaker
Moisture damage in the light fixture (quite likely)
Issues with the electrical wiring
Faulty motion sensor
Faulty light (quite likely)
It's important to consult a qualified electrician to diagnose the problem safely, especially if it involves electrical components.