As an example look at this typical transformer here the primary and secondary windings are wound on separate legs of the core
They can be one in either the same or opposing directions note that here both primary and secondary windings are in the same direction