Orzo is pasta. If you want to make this with rice, you may have to adjust liquid measurements and cooking time (it would be a different recipe).
Feel free to leave the spinach out if it’s not your thing or you don’t have any. I just add it for a bit of color and texture and to make it a bit more nutritious.