Which figure of speech is used in this text?
In the 1950s, there was great societal pressure on women to stay at home and raise children. Many women enjoyed doing so, but for others home was a prison they yearned to escape.

 - simile
 - metaphor
The text uses a metaphor, comparing two things that are not actually alike without using like or as.
Home was a prison compares home to a prison without using like or as.