With all electrical devices you need to check for two things:
Power adapter : Means can your device support the different power levels (amps, watts) for Europe (Spain).
Most computers, cameras, mobile phones have this either built into the device itself or the power adapter that comes with the device has the capability. Just check the power adapter that comes with the device or the manual
Plug adapter: Means can your power adapter actually plug into the European wall socket. Europe uses a plug that consists of a pair of two round narrow pins. Other regions of the world uses different combinations of pins (shape, size and quantity)
If you are coming from another region of the world, more than likely you will need a plug adapter that allows you to plug your power adapter or device into the European wall socket.