Hi -Brielle,
At Barcelona Airport, money dispensed from ATM's is in the form of Euros. Also, as previously noted above, many small villages do not have ATM's so make sure you have some Euros "stashed away" in case of emergencies. Hope this helps. Buen Camino.