They were mostly used to haul freight trains, although they did occasionally haul passenger trains either on their own or in multiple with the diesel locomotive pulling the train.
Freight was their main function, but they also transported passengers sometimes on their own or together with diesel locomotives that pulled the train.