Swing vs rock n play

Lindsay

My second is due in February and I'm trying to narrow down what to buy. With my first I had a swing and wasnt aware of the rock n play. The swing was a lifesaver because he napped there a lot in the beginning. However, I gave it away. So my question is, which do you prefer? Is it necessary to get both?