This is a Z-Wave smart plug from Minoston, model MP22ZP, built to sit between the wall outlet and whatever you plug into it. You can switch the device on or off from your phone, set automatic timers, or build routines so things turn on and off without you thinking about it. It also reports energy use, so you can see which devices are eating power when they should be off.
The housing is rated IP65 for weather resistance, which makes it a sensible pick for garden lights, sprinklers, fountains, outdoor lamps and electric grills. The supplier notes it should not be exposed directly to rain or immersed in water, so use it under a cover or in a sheltered outlet spot. It also works indoors in kitchens, bathrooms and basements. You need a Z-Wave certified hub to make it work, and if you want voice control with Echo devices, your hub must be Alexa supported.