Ferrocarriles is halfway between a train and a metro. It stops in town but also arrives outside the city.
You can use your normal metro ticket if you are travelling in the zone 1 (eg. The airport) or you will need to buy another ticket, as you will do when you travel in train. More info:
RENFE (Short and large distance):
General enquiries and itineraries: Tel. 902 240 202
International: 934 901 122
More info: