Is the union northerners in the US Civil War?

They fought for the preservation of the Union and were known as Yankees.