In the place of something (usually mentioned earlier); as a substitute or alternative.
I was going to go shopping, but I went dancing instead.