Original: The sleeping car or sleeper (often) is a railroad passenger car that can accommodate all its passengers in beds of one kind or another, primarily for the purpose of making nighttime travel more restful.
Simplified: The sleeping car or sleeper is a part of a train with beds built in, mostly for making nighttime travel more restful.