This phrase is used in spoken and written English when people want to point out how the point they are about to make is different or in opposition to another point that was previously made.