Indicate which, if either,part of the life cycle is dominant and which is dependent in mosses and ferns

In mosses and ferns, the independent (dominant) stage is the sporophyte, while the dependent stage is the gametophyte.