How did they design these pre-rendered backgrounds?

In the old video games, how did they design these pre-rendered background images exactly? Are these real pictures or what? What is the method? Why were they so realistic?

For example, stars team room in resident evil 2 (1998):

How did they design these pre-rendered backgrounds?
How did they design these pre-rendered backgrounds?
Post Opinion